Метод |
Описание |
|
__construct ( ) |
|
|
addHandler ( AbstractHandler $handler ) |
Add handler to logger
Handlers are being prepended to the handlers array, so the last added handler will be executed first |
|
alert ( string $message, array $context = [] ) : null |
Action must be taken immediately. |
|
critical ( string $message, array $context = [] ) : null |
Critical conditions. |
|
debug ( string $message, array $context = [] ) : null |
Detailed debug information. |
|
emergency ( string $message, array $context = [] ) : null |
System is unusable. |
|
error ( string $message, array $context = [] ) : null |
Runtime errors that do not require immediate action but should typically
be logged and monitored. |
|
info ( string $message, array $context = [] ) : null |
Interesting events. |
|
log ( mixed $level, string $message, array $context = [] ) : null |
Logs with an arbitrary level. |
|
notice ( string $message, array $context = [] ) : null |
Normal but significant events. |
|
setName ( string $name ) |
Set logger name |
|
warning ( string $message, array $context = [] ) : null |
Exceptional occurrences that are not errors. |
|