Mode | Value | Description |
---|---|---|
OFF | -1 | No logging |
TIMER | 0 | Used for timing of code |
The following logging levels are those defined by the BSD syslog protocol (RFC3164). | ||
EMERGENCY | 1 | System is unusable |
ALERT | 2 | Action must be taken immediately |
CRITICAL | 3 | Critical conditions |
ERROR | 4 | Error conditions |
WARNING | 5 | Warning conditions |
NOTICE | 6 | Normal but significant conditions |
INFO | 7 | Informational messages |
DEBUG | 8 | Debug-level messages |
TRACE | 9 | Almost everything that happens |