enum Crylog::Severity
Overview
Logging levels as defined by RFC 5424.
Defined in:
logger.crEnum Members
-
Debug =
100
-
Detailed debugging information.
-
Info =
200
-
Interesting events.
Examples: User logs in, SQL logs.
-
Notice =
250
-
Uncommon events.
-
Warning =
300
-
Exceptional occurrences that are not errors.
Examples: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.
-
Error =
400
-
Runtime errors.
-
Critical =
500
-
Critical conditions.
Example: Application component unavailable, unexpected exception.
-
Alert =
550
-
Action must be taken immediately.
Example: Entire website down, database unavailable, etc. This should trigger the SMS alerts and wake you up.
-
Emergency =
600
-
Urgent alert.