![]() |
TYPO3
7.6
|
Namespaces | |
| namespace | Test |
Classes | |
| class | AbstractLogger |
| class | InvalidArgumentException |
| interface | LoggerAwareInterface |
| interface | LoggerInterface |
| class | LogLevel |
| class | NullLogger |
Functions | |
| setLogger (LoggerInterface $logger) | |
Variables | |
| trait | LoggerAwareTrait |
| trait | LoggerTrait |
| Psr\Log\setLogger | ( | LoggerInterface | $logger | ) |
Sets a logger.
| LoggerInterface | $logger |
Definition at line 22 of file LoggerAwareTrait.php.
| trait LoggerAwareTrait |
Basic Implementation of LoggerAwareInterface.
Definition at line 9 of file LoggerAwareTrait.php.
| trait LoggerTrait |
This is a simple Logger trait that classes unable to extend AbstractLogger (because they extend another class, etc) can include.
It simply delegates all log-level-specific methods to the log method to reduce boilerplate code that a simple Logger that does the same thing with messages regardless of the error level has to implement.
Definition at line 14 of file LoggerTrait.php.
1.8.3