Expand description
A pretty logger.
A logger similar to pretty_env_logger
, but configured from the init
function instead of from an environment variable.
It also supports falling back to a non-colored logger.
Structs§
Enums§
- Destination
- Where to log errors to.
Functions§
- init
- Initializes the global logger.
- init_
level - Initializes the global logger to log at the given level, using the defaults for other fields.
- init_
to_ defaults - Initializes the global logger with the defaults.