[][src]Enum flexi_logger::FlexiLoggerError

pub enum FlexiLoggerError {
    BadDirectory,
    Io(Error),
    Notify(Error),
    Toml(Error),
    LevelFilter(String),
    Parse(Vec<String>, LogSpecification),
    Log(SetLoggerError),
}

Describes errors in the initialization of flexi_logger.

Variants

BadDirectory

Log file cannot be written because the specified path is not a directory.

Io(Error)

Log cannot be written because the configured output directory is not accessible.

Notify(Error)

Error with fs-notifications for the specfile

Toml(Error)

The configured logspec file cannot be read

LevelFilter(String)

Invalid level filter

Parse(Vec<String>, LogSpecification)

Some error occured during parsing

Log(SetLoggerError)

Logger initialization failed.

Trait Implementations

impl From<SetLoggerError> for FlexiLoggerError
[src]

impl From<Error> for FlexiLoggerError
[src]

impl From<Error> for FlexiLoggerError
[src]

impl From<Error> for FlexiLoggerError
[src]

impl Display for FlexiLoggerError
[src]

impl Debug for FlexiLoggerError
[src]

impl Error for FlexiLoggerError
[src]

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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