Enum fern::InitError [] [src]

pub enum InitError {
    Io(Error),
    SetLoggerError(SetLoggerError),
}

Convenience error combining possible errors which could occur while initializing logging.

Fern does not use this error natively, but functions which set up fern and open log files will often need to return both io::Error and SetLoggerError. This error is for that purpose.

Variants

IO error.

The log crate's global logger was already initialized when trying to initialize a logger.

Trait Implementations

impl Debug for InitError
[src]

[src]

Formats the value using the given formatter.

impl From<Error> for InitError
[src]

[src]

Performs the conversion.

impl From<SetLoggerError> for InitError
[src]

[src]

Performs the conversion.

impl Display for InitError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for InitError
[src]

[src]

A short description of the error. Read more

[src]

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