Skip to main content

init_logging

Function init_logging 

Source
pub fn init_logging(app_name: &str) -> LogGuard
Expand description

Initialise the global tracing subscriber for a CLI / standalone process.

Uses stderr as the console output destination. For a custom writer (e.g. progress-bar aware), use init_logging_with_writer.