pub fn new(receiver: TracingReceiver, targets: &str) -> Self {
		match receiver {
			TracingReceiver::Log => Self::new_with_handler(Box::new(LogTraceHandler), targets),
			TracingReceiver::Telemetry => Self::new_with_handler(
				Box::new(TelemetryTraceHandler),
				targets,
			),
		}
	}
/// Takes a `TracingReceiver` and a comma separated list of targets,
/// either with a level: "pallet=trace,frame=debug"
/// or without: "pallet,frame" in which case the level defaults to `trace`.
/// wasm_tracing indicates whether to enable wasm traces
Takes a `TracingReceiver` and a comma separated list of targets,
either with a level: "pallet=trace,frame=debug"
or without: "pallet,frame" in which case the level defaults to `trace`.
wasm_tracing indicates whether to enable wasm traces
Takes a ` TracingReceiver ` and a comma separated list of targets either with a level : " pallet = trace frame = debug " or without : " pallet frame " in which case the level defaults to ` trace ` . wasm_tracing indicates whether to enable wasm traces
pub fn new(receiver: TracingReceiver, targets: &str) -> Self {
		match receiver {
			TracingReceiver::Log => Self::new_with_handler(Box::new(LogTraceHandler), targets),
			TracingReceiver::Telemetry => Self::new_with_handler(
				Box::new(TelemetryTraceHandler),
				targets,
			),
		}
	}
pub fn new ( receiver : TracingReceiver , targets : & str ) -> Self { match receiver { TracingReceiver :: Log => Self :: new_with_handler ( Box :: new ( LogTraceHandler ) , targets ) , TracingReceiver :: Telemetry => Self :: new_with_handler ( Box :: new ( TelemetryTraceHandler ) , targets , ) , } }
Takes a `TracingReceiver` and a comma separated list of targets,
either with a level: "pallet=trace,frame=debug"
or without: "pallet,frame" in which case the level defaults to `trace`.
Takes a ` TracingReceiver ` and a comma separated list of targets either with a level : " pallet = trace frame = debug " or without : " pallet frame " in which case the level defaults to ` trace ` .
receiver
TracingReceiver
targets
&str
receiver
TracingReceiver
targets
&str