![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de AbstractLogger:Fonctions membres publiques | |
| emergency ($message, array $context=array()) | |
| alert ($message, array $context=array()) | |
| critical ($message, array $context=array()) | |
| error ($message, array $context=array()) | |
| warning ($message, array $context=array()) | |
| notice ($message, array $context=array()) | |
| info ($message, array $context=array()) | |
| debug ($message, array $context=array()) | |
Fonctions membres publiques hérités de LoggerInterface | |
| log ($level, $message, array $context=array()) | |
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.
| alert | ( | $message, | |
| array | $context = array() |
||
| ) |
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 |
Implémente LoggerInterface.
Références $context, $message, LogLevel\ALERT, et LoggerInterface\log().
| critical | ( | $message, | |
| array | $context = array() |
||
| ) |
Critical conditions.
Example: Application component unavailable, unexpected exception.
| string | $message | |
| array | $context |
Implémente LoggerInterface.
Références $context, $message, LogLevel\CRITICAL, et LoggerInterface\log().
| debug | ( | $message, | |
| array | $context = array() |
||
| ) |
Detailed debug information.
| string | $message | |
| array | $context |
Implémente LoggerInterface.
Références $context, $message, LogLevel\DEBUG, et LoggerInterface\log().
| emergency | ( | $message, | |
| array | $context = array() |
||
| ) |
System is unusable.
| string | $message | |
| array | $context |
Implémente LoggerInterface.
Références $context, $message, LogLevel\EMERGENCY, et LoggerInterface\log().
| error | ( | $message, | |
| array | $context = array() |
||
| ) |
Runtime errors that do not require immediate action but should typically be logged and monitored.
| string | $message | |
| array | $context |
Implémente LoggerInterface.
Références $context, $message, LogLevel\ERROR, et LoggerInterface\log().
| info | ( | $message, | |
| array | $context = array() |
||
| ) |
Interesting events.
Example: User logs in, SQL logs.
| string | $message | |
| array | $context |
Implémente LoggerInterface.
Références $context, $message, LogLevel\INFO, et LoggerInterface\log().
| notice | ( | $message, | |
| array | $context = array() |
||
| ) |
Normal but significant events.
| string | $message | |
| array | $context |
Implémente LoggerInterface.
Références $context, $message, LoggerInterface\log(), et LogLevel\NOTICE.
| warning | ( | $message, | |
| array | $context = array() |
||
| ) |
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 |
Implémente LoggerInterface.
Références $context, $message, LoggerInterface\log(), et LogLevel\WARNING.