Module prelude

Source

Macros§

log_debug
Format and log message with Level::Debug
log_error
Format and log message with Level::Error
log_info
Format and log message with Level::Info
log_trace
Format and log message with Level::Trace
log_warn
Format and log message with Level::Warn

Enums§

Level
An enum representing the available verbosity levels of the logger.
LevelFilter
An enum representing the available verbosity level filters of the logger.

Functions§

set_colors_enabled
set_log_level
Enable filtering of log messages using the LevelFilter
style
Wraps an object for formatting for styling.