Enum log4rs::Error [] [src]

pub enum Error {
    Log(SetLoggerError),
    Log4rs(Box<Error>),
}

An error initializing the logging framework from a file.

Variants

Log(SetLoggerError)

An error from the log crate

Log4rs(Box<Error>)

A fatal error initializing the log4rs config.

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Error
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

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

impl From<SetLoggerError> for Error
[src]

fn from(t: SetLoggerError) -> Error

Performs the conversion.

impl From<Box<Error>> for Error
[src]

fn from(t: Box<Error>) -> Error

Performs the conversion.