pub fn init(stdout: bool) -> Guard
Set up logging (and OTLP export when OTEL_EXPORTER_OTLP_ENDPOINT is set) for this process, to stdout when stdout, else stderr. Keep the guard until the process ends.
OTEL_EXPORTER_OTLP_ENDPOINT
stdout