Function emoji_logger::formatted_builder [−][src]
pub fn formatted_builder() -> Result<Builder, SetLoggerError>
Returns a env_logger::Builder
for further customization.
This method will return a colored and formatted) env_logger::Builder
for further customization. Refer to env_logger::Build crate documentation
for further details and usage.
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 function fails to set the global logger if one has already been set.