LoggerTrait
Trait for keeping track of logger objects
Table of Contents
- setLogger() : void
- Set a logger to keep track of errors
Methods
setLogger()
Set a logger to keep track of errors
public
setLogger(LoggerInterface $logger) : void
Parameters
- $logger : LoggerInterface