protected property Logger::$rfc5424levels in MongoDB 8.2
Map of PSR3 log constants to RFC 5424 log constants.
Type: array
See also
\Drupal\Core\Logger\LoggerChannel
\Drupal\mongodb_watchdog\Logger::log()
File
- modules/
mongodb_watchdog/ src/ Logger.php, line 95  
Class
- Logger
 - Class Logger is a PSR/3 Logger using a MongoDB data store.
 
Namespace
Drupal\mongodb_watchdogCode
protected $rfc5424levels = [
  LogLevel::EMERGENCY => RfcLogLevel::EMERGENCY,
  LogLevel::ALERT => RfcLogLevel::ALERT,
  LogLevel::CRITICAL => RfcLogLevel::CRITICAL,
  LogLevel::ERROR => RfcLogLevel::ERROR,
  LogLevel::WARNING => RfcLogLevel::WARNING,
  LogLevel::NOTICE => RfcLogLevel::NOTICE,
  LogLevel::INFO => RfcLogLevel::INFO,
  LogLevel::DEBUG => RfcLogLevel::DEBUG,
];