sensible_env_logger

Macro try_init_timed_local_iso

Source
macro_rules! try_init_timed_local_iso {
    () => { ... };
}
Expand description

Initializes the global logger with a local-timed pretty, sensible env logger.

See init_timed_local_iso! for more info.

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.