메소드 |
설명 |
|
__construct ( string | array | ManaPHP\Logger\AdapterInterface $options = [] ) |
Logger constructor. |
|
debug ( string $message, array $context = [] ) : static |
Sends/Writes a debug message to the log |
|
error ( string $message, array $context = [] ) : static |
Sends/Writes an error message to the log |
|
fatal ( string $message, array $context = [] ) : static |
Sends/Writes a critical message to the log |
|
getLevel ( ) : string |
Returns the current log level |
|
getLevels ( ) : array |
|
|
info ( string $message, array $context = [] ) : static |
Sends/Writes an info message to the log |
|
log ( string $level, string $message, array $context ) : static |
|
|
setDependencyInjector ( ManaPHP\DiInterface $dependencyInjector ) : static |
|
|
setLevel ( string $level ) : static |
Filters the logs sent to the handlers to be greater or equals than a specific level |
|
warning ( string $message, array $context = [] ) : static |
Sends/Writes a warning message to the log |
|