Skip to main content

init_logging

Function init_logging 

Source
pub fn init_logging(config: LoggingConfig)
Expand description

Initialize the global logger with the given configuration.

This should be called once at the start of the application.

ยงExample

use ronn_core::logging::{init_logging, LoggingConfig};

init_logging(LoggingConfig::development());