Enum fern::InitError
[−]
[src]
pub enum InitError { Io(Error), SetLoggerError(SetLoggerError), }
Error that may occur within init_global_logger()
Variants
Io(Error)
IO Error - this will only occur within fern logger implementations when opening files
SetLoggerError(SetLoggerError)
SetLoggerError - this occurs if the log crate has already been initialized when init_global_logger() is called.
Trait Implementations
impl Debug for InitError
[src]
impl From<Error> for InitError
[src]
impl From<SetLoggerError> for InitError
[src]
fn from(error: SetLoggerError) -> InitError
Performs the conversion.