Enum flexi_logger::Duplicate[][src]

pub enum Duplicate {
    None,
    Error,
    Warn,
    Info,
    Debug,
    Trace,
    All,
}

Used to control which messages are to be duplicated to stderr, when log_to_file() is used.

Variants

None

No messages are duplicated.

Error

Only error messages are duplicated.

Warn

Error and warn messages are duplicated.

Info

Error, warn, and info messages are duplicated.

Debug

Error, warn, info, and debug messages are duplicated.

Trace

All messages are duplicated.

All

All messages are duplicated.

Trait Implementations

impl Debug for Duplicate[src]

Auto Trait Implementations

impl RefUnwindSafe for Duplicate

impl Send for Duplicate

impl Sync for Duplicate

impl Unpin for Duplicate

impl UnwindSafe for Duplicate

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.