pub fn subscriber<W>(
json: bool,
filter: EnvFilter,
writer: W,
traces: Option<&SdkTracerProvider>,
) -> Box<dyn Subscriber + Send + Sync>Expand description
The subscriber init_logging installs, writing to writer: JSON lines
when json, otherwise text for people; and with traces, sending each
span on as a trace too.