Crate errox

Source

Traits§

Errox
Trait with methods error(), warning(), info(), debug() and trace() over Result<T, impl Display> (Display is blanket implemented by Error, implement Error over your types). The error message is self.to_string(), from the Display trait implementation. This trait is much preferable to using the function counterparts.

Functions§

debug
Prints a debug message to stderr, if the log level is set low enough.
error
Prints an error message to stderr.
info
Prints an information message to stderr, if the log level is set low enough.
trace
Prints a trace message to stderr, if the log level is set low enough.
warning
Prints a warning to stderr, if the log level is set low enough.