// Copyright 2023 TiKV Project Authors. Licensed under Apache-2.0.
usesuper::global_collector::Reporter;usesuper::SpanRecord;/// A console reporter that prints span records to the stderr.
pubstructConsoleReporter;implReporter forConsoleReporter{fnreport(&mutself, spans:&[SpanRecord]){for span in spans {eprintln!("{:#?}", span);}}}