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