ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Namespaces | |
Test | |
Data Structures | |
class | AbstractLogger |
This is a simple Logger implementation that other Loggers can inherit from. More... | |
class | InvalidArgumentException |
interface | LoggerAwareInterface |
Describes a logger-aware instance. More... | |
interface | LoggerInterface |
Describes a logger instance. More... | |
class | LogLevel |
Describes log levels. More... | |
class | NullLogger |
This Logger can be used to avoid conditional log calls. More... | |
Functions | |
setLogger (LoggerInterface $logger) | |
Sets a logger. More... | |
Variables | |
trait | LoggerAwareTrait |
Basic Implementation of LoggerAwareInterface. More... | |
trait | LoggerTrait |
This is a simple Logger trait that classes unable to extend AbstractLogger (because they extend another class, etc) can include. More... | |
Psr\Log\setLogger | ( | LoggerInterface | $logger | ) |
Sets a logger.
LoggerInterface | $logger |
Definition at line 22 of file LoggerAwareTrait.php.
trait Psr::Log\LoggerAwareTrait |
Basic Implementation of LoggerAwareInterface.
Definition at line 9 of file LoggerAwareTrait.php.
trait Psr::Log\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.