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]

Formats the value using the given formatter. Read more

impl From<Error> for InitError
[src]

Performs the conversion.

impl From<SetLoggerError> for InitError
[src]

Performs the conversion.

impl Display for InitError
[src]

Formats the value using the given formatter. Read more

impl Error for InitError
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl Send for InitError

impl Sync for InitError