Crate wick_logger

Source
Expand description

Wick’s logger crate

Modules§

error
Error module for Logger.

Structs§

FilterOptions
Options for filtering logs.
LogFilters
The filter configuration per log event destination.
LogFiltersBuilder
Builder for LogFilters.
LoggingGuard
Guard that - when dropped - flushes all log messages and drop I/O handles.
LoggingOptions
Logging options.
LoggingOptionsBuilder
Builder for LoggingOptions.
TargetLevel
The log level for specific targets.

Enums§

LogFiltersBuilderError
Error type for LogFiltersBuilder
LogLevel
The log levels.
LogModifier
Whether to include logs higher, lower, equal, or to not include them at all.
LoggingOptionsBuilderError
Error type for LoggingOptionsBuilder

Functions§

init
Initialize a logger or panic on failure
init_test
Initialize a logger for tests