You are here

constant ErrorLog::LOG_LEVELS in Error Log 8

Provides untranslated log levels.

File

src/Logger/ErrorLog.php, line 27

Class

ErrorLog
Logs events to the PHP error log.

Namespace

Drupal\error_log\Logger

Code

const LOG_LEVELS = [
  RfcLogLevel::EMERGENCY => 'emergency',
  RfcLogLevel::ALERT => 'alert',
  RfcLogLevel::CRITICAL => 'critical',
  RfcLogLevel::ERROR => 'error',
  RfcLogLevel::WARNING => 'warning',
  RfcLogLevel::NOTICE => 'notice',
  RfcLogLevel::INFO => 'info',
  RfcLogLevel::DEBUG => 'debug',
];