Enum flexi_logger::FlexiLoggerError
source · pub enum FlexiLoggerError {
BadDirectory,
Io(Error),
Notify(Error),
Toml(Error),
LevelFilter(String),
Parse(Vec<String>, LogSpecification),
Log(SetLoggerError),
}
Expand description
Re-exports from log crate
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.
Notify(Error)
Error with fs-notifications for the specfile
Toml(Error)
The configured logspec file cannot be read
LevelFilter(String)
Invalid level filter
Parse(Vec<String>, LogSpecification)
Some error occured during parsing
Log(SetLoggerError)
Logger initialization failed.
Trait Implementations§
source§impl Debug for FlexiLoggerError
impl Debug for FlexiLoggerError
source§impl Display for FlexiLoggerError
impl Display for FlexiLoggerError
source§impl Error for FlexiLoggerError
impl Error for FlexiLoggerError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl From<Error> for FlexiLoggerError
impl From<Error> for FlexiLoggerError
source§fn from(err: Error) -> FlexiLoggerError
fn from(err: Error) -> FlexiLoggerError
Converts to this type from the input type.
source§impl From<Error> for FlexiLoggerError
impl From<Error> for FlexiLoggerError
source§fn from(err: Error) -> FlexiLoggerError
fn from(err: Error) -> FlexiLoggerError
Converts to this type from the input type.
source§impl From<Error> for FlexiLoggerError
impl From<Error> for FlexiLoggerError
source§fn from(err: Error) -> FlexiLoggerError
fn from(err: Error) -> FlexiLoggerError
Converts to this type from the input type.
source§impl From<SetLoggerError> for FlexiLoggerError
impl From<SetLoggerError> for FlexiLoggerError
source§fn from(err: SetLoggerError) -> FlexiLoggerError
fn from(err: SetLoggerError) -> FlexiLoggerError
Converts to this type from the input type.