Crate sherr[−][src]
Re-exports
Macros
Logs a message at the debug level.
Logs a message at the error level.
Construct an ad-hoc error from a string or existing non-anyhow
error
value.
Logs a message at the info level.
The standard logging macro.
Determines if a message logged at the specified level in that module will be logged.
Logs a message at the trace level.
Logs a message at the warn level.
Structs
Iterator of a chain of source errors.
The Error
type, a wrapper around a dynamic error type.
Metadata about a log message.
Builder for Metadata
.
The type returned by from_str
when the string doesn’t match any of the log levels.
The “payload” of a log message.
Builder for Record
.
The type returned by set_logger
if set_logger
has already been called.
Enums
An enum representing the available verbosity levels of the logger.
An enum representing the available verbosity level filters of the logger.
Constants
The statically resolved maximum log level.
Traits
Provides the context
method for Result
.
A trait encapsulating the operations required of a logger.
Functions
Returns a reference to the logger.
Returns the current maximum log level.
Sets the global logger to a &'static Log
.
A thread-unsafe version of set_logger
.
Sets the global maximum log level.
Type Definitions
Result<T, Error>