pub fn try_init_from_env() -> Result<(), SetLoggerError> {
    env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("info"))
        .format(LogFormatter::format)
        .try_init()
}
///! Try to set-up the logger and return a result
Try to set-up the logger and return a result
Try to set - up the logger and return a result
pub fn try_init_from_env() -> Result<(), SetLoggerError> {
    env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("info"))
        .format(LogFormatter::format)
        .try_init()
}
pub fn try_init_from_env ( ) -> Result < ( ) , SetLoggerError > { env_logger :: Builder :: from_env ( env_logger :: Env :: default ( ) . default_filter_or ( " " ) ) . format ( LogFormatter :: format ) . try_init ( ) }
Try to set-up the logger and return a result
Try to set - up the logger and return a result