macro_rules! try_init_timed_local {
() => { ... };
}
Expand description
Initializes the global logger with a “no-frills” local date/time pretty, sensible env logger.
See init_timed_local!
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.