ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
This is a simple Logger implementation that other Loggers can inherit from. More...
Public Member Functions | |
emergency ($message, array $context=array()) | |
System is unusable. More... | |
alert ($message, array $context=array()) | |
Action must be taken immediately. More... | |
critical ($message, array $context=array()) | |
Critical conditions. More... | |
error ($message, array $context=array()) | |
Runtime errors that do not require immediate action but should typically be logged and monitored. More... | |
warning ($message, array $context=array()) | |
Exceptional occurrences that are not errors. More... | |
notice ($message, array $context=array()) | |
Normal but significant events. More... | |
info ($message, array $context=array()) | |
Interesting events. More... | |
debug ($message, array $context=array()) | |
Detailed debug information. More... | |
Public Member Functions inherited from Psr\Log\LoggerInterface | |
log ($level, $message, array $context=array()) | |
Logs with an arbitrary level. More... | |
This is a simple Logger implementation that other Loggers can inherit from.
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 12 of file AbstractLogger.php.
Action must be taken immediately.
Example: Entire website down, database unavailable, etc. This should trigger the SMS alerts and wake you up.
string | $message | |
array | $context |
Implements Psr\Log\LoggerInterface.
Definition at line 38 of file AbstractLogger.php.
References $message, Psr\Log\LogLevel\ALERT, and Psr\Log\LoggerInterface\log().
Critical conditions.
Example: Application component unavailable, unexpected exception.
string | $message | |
array | $context |
Implements Psr\Log\LoggerInterface.
Definition at line 53 of file AbstractLogger.php.
References $message, Psr\Log\LogLevel\CRITICAL, and Psr\Log\LoggerInterface\log().
Detailed debug information.
string | $message | |
array | $context |
Implements Psr\Log\LoggerInterface.
Definition at line 124 of file AbstractLogger.php.
References $message, Psr\Log\LogLevel\DEBUG, and Psr\Log\LoggerInterface\log().
System is unusable.
string | $message | |
array | $context |
Implements Psr\Log\LoggerInterface.
Definition at line 22 of file AbstractLogger.php.
References $message, Psr\Log\LogLevel\EMERGENCY, and Psr\Log\LoggerInterface\log().
Runtime errors that do not require immediate action but should typically be logged and monitored.
string | $message | |
array | $context |
Implements Psr\Log\LoggerInterface.
Definition at line 67 of file AbstractLogger.php.
References $message, Psr\Log\LogLevel\ERROR, and Psr\Log\LoggerInterface\log().
Interesting events.
Example: User logs in, SQL logs.
string | $message | |
array | $context |
Implements Psr\Log\LoggerInterface.
Definition at line 111 of file AbstractLogger.php.
References $message, Psr\Log\LogLevel\INFO, and Psr\Log\LoggerInterface\log().
Normal but significant events.
string | $message | |
array | $context |
Implements Psr\Log\LoggerInterface.
Definition at line 96 of file AbstractLogger.php.
References $message, Psr\Log\LoggerInterface\log(), and Psr\Log\LogLevel\NOTICE.
Exceptional occurrences that are not errors.
Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.
string | $message | |
array | $context |
Implements Psr\Log\LoggerInterface.
Definition at line 83 of file AbstractLogger.php.
References $message, Psr\Log\LoggerInterface\log(), and Psr\Log\LogLevel\WARNING.