Skip to main content

Module log_level

Module log_level 

Source
Expand description

Log levels accepted by the log function.

Use these constants instead of magic numbers when calling log directly. The convenience macros (log_info!, etc.) take care of this for you.

Constants§

DEBUG
Debug-level diagnostics, typically not shown in production.
ERROR
Errors — operations that failed and require attention.
INFO
Informational messages indicating normal operation.
TRACE
Most verbose level — use for fine-grained tracing.
WARN
Warnings — recoverable issues or unusual conditions.