You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Darwin C02VM0JPHTDD 18.7.0 Darwin Kernel Version 18.7.0: Thu Jun 20 18:42:21 PDT 2019; root:xnu-4903.270.47~4/RELEASE_X86_64 x86_64
Crates
tracing-fmt tracing-subscriber
Description
I tried copy and pasting this file into a new cargo project and adding tracing, tracing-subscriber and tracing-fmt to my Cargo.toml but it would not compile.
Existing example use statements
use tracing_fmt::format;use tracing_subscriber::prelude::*;
Proposed use statements
use tracing_subscriber::fmt::format;use tracing_subscriber::prelude::*;use tracing_subscriber::FmtSubscriber;
The text was updated successfully, but these errors were encountered:
This example is outdated and should have been removed when `tracing-fmt`
was merged into `tracing-subscriber`. There is another example in the
`examples` crate, [`fmt-custom-fields`][1], which demonstrates the same
usage, but uses the current APIs. Therefore, we can just delete the old
example.
[1]: https://github.com/tokio-rs/tracing/blob/master/examples/examples/fmt-custom-field.rsFixes: #444
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Bug Report
Version
Platform
Darwin C02VM0JPHTDD 18.7.0 Darwin Kernel Version 18.7.0: Thu Jun 20 18:42:21 PDT 2019; root:xnu-4903.270.47~4/RELEASE_X86_64 x86_64
Crates
tracing-fmt
tracing-subscriber
Description
I tried copy and pasting this file into a new cargo project and adding
tracing
,tracing-subscriber
andtracing-fmt
to myCargo.toml
but it would not compile.Existing example use statements
Proposed use statements
The text was updated successfully, but these errors were encountered: