LoggingAspect
class LoggingAspect (View source)
An aspect which centralizes the logging of important session actions.
Properties
protected LoggerInterface | $logger |
Methods
void
injectLogger(LoggerInterface $logger)
Injects the (system) logger based on PSR-3.
void
void
void
mixed
void
string
getClassName(JoinPointInterface $joinPoint)
Determines the short or full class name of the session implementation
Details
void
injectLogger(LoggerInterface $logger)
Injects the (system) logger based on PSR-3.
void
logStart(JoinPointInterface $joinPoint)
Logs calls of start()
void
logResume(JoinPointInterface $joinPoint)
Logs calls of resume()
void
logDestroy(JoinPointInterface $joinPoint)
Logs calls of destroy()
mixed
logRenewId(JoinPointInterface $joinPoint)
Logs calls of renewId()
void
logCollectGarbage(JoinPointInterface $joinPoint)
Logs calls of collectGarbage()
protected string
getClassName(JoinPointInterface $joinPoint)
Determines the short or full class name of the session implementation