Macro sensible_env_logger::try_init_timed
source · [−]macro_rules! try_init_timed {
() => { ... };
}
Expand description
Initializes the global logger with a timed pretty, sensible env logger.
This should be called early in the execution of a Rust program, and the global logger may only be initialized once. Future initialization attempts will return an error.
Errors
This macro fails to set the global logger if one has already been set.