mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
tracing-trace: introduce TraceWriter, trace now only exposes the channel
This commit is contained in:
@ -74,7 +74,7 @@ fn on_panic(info: &std::panic::PanicInfo) {
|
||||
|
||||
fn main() {
|
||||
let (mut trace, profiling_layer) =
|
||||
tracing_trace::Trace::new(std::fs::File::create("trace.json").unwrap());
|
||||
tracing_trace::TraceWriter::new(std::fs::File::create("trace.json").unwrap());
|
||||
|
||||
let subscriber = tracing_subscriber::registry()
|
||||
// any number of other subscriber layers may be added before or
|
||||
|
Reference in New Issue
Block a user