DbLogController::getLogLevelClassMap

public static DbLogController::getLogLevelClassMap()

Gets an array of log level classes.

Return value

array An array of log level classes.

File

core/modules/dblog/src/Controller/DbLogController.php, line 96

Class

DbLogController
Returns responses for dblog routes.

Namespace

Drupal\dblog\Controller

Code

public static function getLogLevelClassMap() {
  return array(
    RfcLogLevel::DEBUG => 'dblog-debug',
    RfcLogLevel::INFO => 'dblog-info',
    RfcLogLevel::NOTICE => 'dblog-notice',
    RfcLogLevel::WARNING => 'dblog-warning',
    RfcLogLevel::ERROR => 'dblog-error',
    RfcLogLevel::CRITICAL => 'dblog-critical',
    RfcLogLevel::ALERT => 'dblog-alert',
    RfcLogLevel::EMERGENCY => 'dblog-emergency',
  );
}
doc_Drupal
2016-10-29 09:01:16
Comments
Leave a Comment

Please login to continue.