You are here

private static property DrupalHandler::$levels in Monolog 8

Same name and namespace in other branches
  1. 2.x src/Logger/Handler/DrupalHandler.php \Drupal\monolog\Logger\Handler\DrupalHandler::levels

File

src/Logger/Handler/DrupalHandler.php, line 17

Class

DrupalHandler
Forwards logs to a Drupal logger.

Namespace

Drupal\monolog\Logger\Handler

Code

private static $levels = [
  Logger::DEBUG => RfcLogLevel::DEBUG,
  Logger::INFO => RfcLogLevel::INFO,
  Logger::NOTICE => RfcLogLevel::NOTICE,
  Logger::WARNING => RfcLogLevel::WARNING,
  Logger::ERROR => RfcLogLevel::ERROR,
  Logger::CRITICAL => RfcLogLevel::CRITICAL,
  Logger::ALERT => RfcLogLevel::ALERT,
  Logger::EMERGENCY => RfcLogLevel::EMERGENCY,
];