Enum flexi_logger::FlexiLoggerError
[−]
[src]
pub enum FlexiLoggerError { BadDirectory, Io(Error), Parse(String), Log(SetLoggerError), }
Describes errors in the initialization of flexi_logger
.
Variants
BadDirectory
Log file cannot be written because the specified path is not a directory.
Io(Error)
Log cannot be written because the configured output directory is not accessible.
Parse(String)
Some error occured during parsing
Log(SetLoggerError)
Logger initialization failed.
Trait Implementations
impl Debug for FlexiLoggerError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for FlexiLoggerError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for FlexiLoggerError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<SetLoggerError> for FlexiLoggerError
[src]
fn from(err: SetLoggerError) -> FlexiLoggerError
[src]
Performs the conversion.
impl From<Error> for FlexiLoggerError
[src]
fn from(err: Error) -> FlexiLoggerError
[src]
Performs the conversion.