Enum flexi_logger::Duplicate
source · pub enum Duplicate {
None = 0,
Error = 1,
Warn = 2,
Info = 3,
Debug = 4,
Trace = 5,
All = 6,
}
Expand description
Used to control which messages are to be duplicated to stderr, when log_to_file()
is used.
Variants§
None = 0
No messages are duplicated.
Error = 1
Only error messages are duplicated.
Warn = 2
Error and warn messages are duplicated.
Info = 3
Error, warn, and info messages are duplicated.
Debug = 4
Error, warn, info, and debug messages are duplicated.
Trace = 5
All messages are duplicated.
All = 6
All messages are duplicated.
Trait Implementations§
source§impl From<Duplicate> for LevelFilter
impl From<Duplicate> for LevelFilter
source§impl From<LevelFilter> for Duplicate
impl From<LevelFilter> for Duplicate
source§fn from(level: LevelFilter) -> Self
fn from(level: LevelFilter) -> Self
Converts to this type from the input type.
impl Copy for Duplicate
Auto Trait Implementations§
impl Freeze for Duplicate
impl RefUnwindSafe for Duplicate
impl Send for Duplicate
impl Sync for Duplicate
impl Unpin for Duplicate
impl UnwindSafe for Duplicate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)