Enum flexi_logger::FlexiLoggerError[][src]

pub enum FlexiLoggerError {
    OutputBadDirectory,
    OutputCleanupThread(Error),
    OutputIo(Error),
    LevelFilter(String),
    Parse(StringLogSpecification),
    Log(SetLoggerError),
    Poison,
    Palette(ParseIntError),
}
Expand description

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.

LevelFilter(String)

Invalid level filter.

Parse(StringLogSpecification)

Failed to parse log specification.

Log(SetLoggerError)

Logger initialization failed.

Poison

Some synchronization object is poisoned.

Palette(ParseIntError)

Palette parsing failed

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

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

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.