You are here

protected property Logger::$levelTranslation in Monolog 8

Same name and namespace in other branches
  1. 2.x 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\Logger

Code

protected $levelTranslation = array(
  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,
);