protected property Logger::$levelTranslation in Monolog 2.x
Same name and namespace in other branches
- 8 src/Logger/Logger.php \Drupal\monolog\Logger\Logger::levelTranslation
Map of RFC 5424 log constants to Monolog log constants.
Type: array
File
- src/
Logger/ Logger.php, line 27
Class
- Logger
- Logger class for the Drupal Monolog module.
Namespace
Drupal\monolog\LoggerCode
protected $levelTranslation = [
RfcLogLevel::EMERGENCY => MonologLogLevel::EMERGENCY,
RfcLogLevel::ALERT => MonologLogLevel::ALERT,
RfcLogLevel::CRITICAL => MonologLogLevel::CRITICAL,
RfcLogLevel::ERROR => MonologLogLevel::ERROR,
RfcLogLevel::WARNING => MonologLogLevel::WARNING,
RfcLogLevel::NOTICE => MonologLogLevel::NOTICE,
RfcLogLevel::INFO => MonologLogLevel::INFO,
RfcLogLevel::DEBUG => MonologLogLevel::DEBUG,
];