[][src]Enum flexi_logger::FlexiLoggerError

pub enum FlexiLoggerError {
    OutputBadDirectory,
    OutputCleanupThread(Error),
    OutputIo(Error),
    SpecfileNotify(Error),
    SpecfileToml(Error),
    SpecfileIo(Error),
    SpecfileExtension(&'static str),
    LevelFilter(String),
    Parse(StringLogSpecification),
    Log(SetLoggerError),
    Poison,
}

Describes errors in the initialization of flexi_logger.

Variants

OutputBadDirectory

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

OutputCleanupThread(Error)

Spawning the cleanup thread failed.

This error can safely be avoided with Logger::cleanup_in_background_thread(false).

OutputIo(Error)

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

SpecfileNotify(Error)

Filesystem notifications for the specfile could not be set up.

SpecfileToml(Error)

Parsing the configured logspec toml-file failed.

SpecfileIo(Error)

Specfile cannot be accessed or created.

SpecfileExtension(&'static str)

Specfile has an unsupported extension.

LevelFilter(String)

Invalid level filter.

Failed to parse log specification.

Logger initialization failed.

Poison

Some synchronization object is poisoned.

Trait Implementations

impl Debug for FlexiLoggerError[src]

impl Display for FlexiLoggerError[src]

impl Error for FlexiLoggerError[src]

impl From<Error> for FlexiLoggerError[src]

impl From<Error> for FlexiLoggerError[src]

impl From<Error> for FlexiLoggerError[src]

impl From<SetLoggerError> for FlexiLoggerError[src]

Auto Trait Implementations

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> ToString for T where
    T: Display + ?Sized
[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.