Skip to main content

init_logging

Function init_logging 

Source
pub fn init_logging(level: Level) -> Result<()>
Expand description

Initialize the global tracing subscriber based on configuration

ยงErrors

Returns an error if the subscriber cannot be initialized.