Expand description
Basic built-in logging system
Structs
- The default log formatter. afire will use this if no custom formatter is set.
Enums
- Log levels. Used to control the verbosity of afire’s internal logging. The default log level is
Level::Off
.
Traits
- A trait for custom log formatters.
Functions
- Globally enables or disables colorized log output. Enabled by default.
- Sets the global log formatter. This can be used to redirect afire’s log output to a file, or to another logging system. By default, afire will use a simple formatter that prints to stdout.
- Sets the global afire log level. Setting to
Level::Off
will disable all logging.