Logging severity levels as defined in RFC 3164.
The WATCHDOG_* constant definitions correspond to the logging severity levels defined in RFC 3164, 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 3164. 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."
See also
https://en.wikipedia.org/wiki/Syslog#Severity_level
http://www.faqs.org/rfcs/rfc3164.html
http://bugs.php.net/bug.php?id=18090
http://php.net/manual/function.syslog.php
http://php.net/manual/network.constants.php
watchdog()
File
- core/
includes/ bootstrap.inc, line 54 - Functions that need to be loaded on every Backdrop request.
Functions
Name | Location | Description |
---|---|---|
backdrop_error_levels |
core/ |
Maps PHP error constants to watchdog severity levels. |
watchdog_severity_levels |
core/ |
Returns a list of severity levels, as defined in RFC 3164. |
Constants
Name | Location | Description |
---|---|---|
WATCHDOG_ALERT |
core/ |
Log message severity -- Alert: action must be taken immediately. |
WATCHDOG_CRITICAL |
core/ |
Log message severity -- Critical conditions. |
WATCHDOG_DEBUG |
core/ |
Log message severity -- Debug-level messages. |
WATCHDOG_DEPRECATED |
core/ |
Log message severity -- Deprecated function/feature notices. |
WATCHDOG_EMERGENCY |
core/ |
Log message severity -- Emergency: system is unusable. |
WATCHDOG_ERROR |
core/ |
Log message severity -- Error conditions. |
WATCHDOG_INFO |
core/ |
Log message severity -- Informational messages. |
WATCHDOG_NOTICE |
core/ |
Log message severity -- Notice: normal but significant conditions. |
WATCHDOG_WARNING |
core/ |
Log message severity -- Warning conditions. |