setup_tracing

Function setup_tracing 

Source
pub fn setup_tracing(args: &Args) -> Result<(), AlreadyInitialised>
Expand description

Sets up whatever tracing, if any, is indicated by the supplied arguments. This can only be called once and only if nothing else has already set the global tracing dispatcher. Calling this is optional. If it isn’t called, no tracing-based features will function. e.g. –time.