You are here

protected property BufferLogger::$levelTranslation in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8.3 src/Logger/BufferLogger.php \Drupal\tmgmt_smartling\Logger\BufferLogger::levelTranslation

Map of RFC 5424 log constants to PSR3 log constants.

Type: array

File

src/Logger/BufferLogger.php, line 31

Class

BufferLogger
Class BufferLogger

Namespace

Drupal\tmgmt_smartling\Logger

Code

protected $levelTranslation = [
  RfcLogLevel::EMERGENCY => LogLevel::EMERGENCY,
  RfcLogLevel::ALERT => LogLevel::ALERT,
  RfcLogLevel::CRITICAL => LogLevel::CRITICAL,
  RfcLogLevel::ERROR => LogLevel::ERROR,
  RfcLogLevel::WARNING => LogLevel::WARNING,
  RfcLogLevel::NOTICE => LogLevel::NOTICE,
  RfcLogLevel::INFO => LogLevel::INFO,
  RfcLogLevel::DEBUG => LogLevel::DEBUG,
];