Macros
- Turn key/values into a lambda for extending attributes, used in various log and error functions.
Structs
- A comprehensive structural error type, intended exclusively for human consumption.
- A logger, but more generally a store of current context (what’s going on). The context is used both for adding information to log messages and errors generated during this context.
Enums
- A tagging system that (1) indicates how users should interpret the log message and (2) presents a linear scale for filtering output.
Traits
Functions
- Create an error from multiple errors
- Create an error from multiple errors, attaching attributes
- Create a new error. If you want to inherit attributes from a logging context, see
Log::new_err. - Create a new error and attach attributes. If you want to inherit attributes from a logging context, see
Log::new_err. - Log a fatal error and terminate the program.
- Create a new logger.