You are here

Logging severity levels in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Core/Logger/RfcLogLevel.php \Drupal\Core\Logger\logging_severity_levels

Logging severity levels as defined in RFC 5424.

The constant definitions of this class correspond to the logging severity levels defined in RFC 5424, section 4.1.1. PHP supplies predefined LOG_* constants for use in the syslog() function, but their values on Windows builds do not correspond to RFC 5424. The associated PHP bug report was closed with the comment, "And it's also not a bug, as Windows just have less log levels," and "So the behavior you're seeing is perfectly normal."

End of "defgroup logging_severity_levels".

See also

http://tools.ietf.org/html/rfc5424

http://bugs.php.net/bug.php?id=18090

http://php.net/manual/function.syslog.php

http://php.net/manual/network.constants.php

self::getLevels()

File

lib/Drupal/Core/Logger/RfcLogLevel.php, line 12
Contains \Drupal\Core\Logger\RfcLogLevel.

Functions

Namesort descending Location Description
RfcLogLevel::getLevels lib/Drupal/Core/Logger/RfcLogLevel.php Returns a list of severity levels, as defined in RFC 5424.

Classes

Namesort descending Location Description
RfcLogLevel lib/Drupal/Core/Logger/RfcLogLevel.php Defines various logging severity levels.