Function env_logger::init [−][src]
pub fn init() -> Result<(), SetLoggerError>
Expand description
Initializes the global logger with an 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.