Super excited about the tracing integration, but I've run into a bit of a snag.
Following the tracing crate's instructions, I have this at the start of main:
let subscriber = FmtSubscriber::builder()
// all spans/events with a level higher than TRACE (e.g, debug, info, warn, etc.)
// will be written to stdout.
.with_max_level(Level::TRACE)
// completes the builder.
.finish();
tracing::subscriber::set_global_default(subscriber)
.expect("setting default subscriber failed");
Super excited about the
tracing
integration, but I've run into a bit of a snag.Following the
tracing
crate's instructions, I have this at the start ofmain
:And when I use
init_tracing
for my World:I get the following exception when I try to run: