Crate prettylogger

Source
Expand description

Fancy logger library.

Modules§

colors
Contains cosmetic, color-related utilities.
config
Implements various types used to customize Logger, LogFormatter and output streams’ behavior.
format
Contains LogFormatter, used to create formatted log messages from raw log structs.
glob
output
Provides log stream implementations for directing log output to various destinations, such as files, standard error, or a log buffer.

Macros§

debug
Prints a debug message using the global Logger instance.
err
Prints an error using the global Logger instance.
fatal
Prints a fatal error using the global Logger instance.
info
Prints an info message using the global Logger instance.
warn
Prints a warning using the global Logger instance.

Structs§

Error
Represents errors thrown by the prettylogger crate.
Logger
Logger capable of filtering logs, formatting them and distributing them to various streams.