[−][src]Module yocto::logger
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.
Taken from https://github.com/remexre/pretty_logger
Structs
Logger | The logger. |
Theme | The color scheme to use. |
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. |