Struct tugger_common::testutil::PrintlnDrain [−][src]
pub struct PrintlnDrain {
pub min_level: Level,
}
Expand description
A slog Drain that uses println!.
Fields
min_level: Level
Minimum logging level that we’re emitting.
Trait Implementations
slog Drain that uses println!.
Handle one logging statement (Record
) Read more
Avoid: Check if messages at the specified log level are maybe enabled for this logger. Read more
Avoid: See is_enabled
Avoid: See is_enabled
Avoid: See is_enabled
Avoid: See is_enabled
Avoid: See is_enabled
Avoid: See is_enabled
Pass Drain
through a closure, eg. to wrap
into another Drain
. Read more
Filter logging records passed to Drain
Read more
Filter logging records passed to Drain
(by level) Read more
Map logging errors returned by this drain Read more
Ignore results returned by this drain Read more
Auto Trait Implementations
impl RefUnwindSafe for PrintlnDrain
impl Send for PrintlnDrain
impl Sync for PrintlnDrain
impl Unpin for PrintlnDrain
impl UnwindSafe for PrintlnDrain
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more