Skip to content

Commit

Permalink
Merge pull request #18 from mockersf/update-tracing-subscriber-0.3
Browse files Browse the repository at this point in the history
update tracing subscriber to 0.3
  • Loading branch information
colelawrence committed Nov 7, 2021
2 parents 2a57328 + 6986564 commit e50092a
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 e50092a

Please sign in to comment.