Enum flexi_logger::Duplicate [−][src]
pub enum Duplicate {
None,
Error,
Warn,
Info,
Debug,
Trace,
All,
}
Expand description
Used to control which messages are to be duplicated to stderr, when log_to_file()
is used.
Variants
No messages are duplicated.
Only error messages are duplicated.
Error and warn messages are duplicated.
Error, warn, and info messages are duplicated.
Error, warn, info, and debug messages are duplicated.
All messages are duplicated.
All messages are duplicated.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Duplicate
impl UnwindSafe for Duplicate
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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