Function sc_cli::init_logger[][src]

pub fn init_logger(
    pattern: &str,
    tracing_receiver: TracingReceiver,
    tracing_targets: Option<String>
) -> Result<(), String>

Initialize the global logger

This sets various global logging and tracing instances and thus may only be called once.