Skip to content

Commit

Permalink
update tracing subscriber to 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Nov 6, 2021
1 parent 2a57328 commit 6986564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
rayon = {version = "1.5", optional = true}
tracing = {version = "0.1", features = ["attributes"], default-features = false}
tracing-subscriber = {version = "0.2", features = ["registry"], default-features = false}
tracing-subscriber = {version = "0.3", features = ["registry"], default-features = false}
wasm-bindgen = {version = "0.2"}

[features]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ impl<S: Subscriber + for<'a> LookupSpan<'a>> Layer<S> for WASMLayer {
level <= &self.config.max_level
}

fn new_span(
fn on_new_span(
&self,
attrs: &tracing::span::Attributes<'_>,
id: &tracing::Id,
Expand Down

0 comments on commit 6986564

Please sign in to comment.