pub trait LogLevelOverride: Sized {
    type Output;

    fn set_level(self, level: LogLevel) -> Self::Output;

    fn silent(self) -> Self::Output { ... }
    fn trace(self) -> Self::Output { ... }
    fn debug(self) -> Self::Output { ... }
    fn info(self) -> Self::Output { ... }
    fn warn(self) -> Self::Output { ... }
    fn error(self) -> Self::Output { ... }
}
Expand description

Extension trait with methods to override the log level of Failure and FailureMode.

Required Associated Types§

The type resulting from applying the override.

Required Methods§

Set level to provided value, regardless of underlying implementation.

Provided Methods§

Set level to Silent, regardless of underlying implementation.

Set level to Trace, regardless of underlying implementation.

Set level to Debug, regardless of underlying implementation.

Set level to Info, regardless of underlying implementation.

Set level to Warn, regardless of underlying implementation.

Set level to Error, regardless of underlying implementation.

Implementations on Foreign Types§

Implementors§