Skip to content

Commit 5127274

Browse files
committed
Update tracing-subscriber requirement from 0.2.22 to 0.3.1 (#3076)
# Objective - Fix #3058 opened by dependabot ## Solution - A new feature need to be added to `tracing-subscriber`
1 parent 76cb662 commit 5127274

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

crates/bevy_log/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ keywords = ["bevy"]
1313
bevy_app = { path = "../bevy_app", version = "0.5.0" }
1414
bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
1515

16-
tracing-subscriber = {version = "=0.2.24", features = ["registry"]}
17-
tracing-chrome = { version = "=0.3.1", optional = true }
18-
tracing-tracy = { version = "0.7.0", optional = true }
16+
tracing-subscriber = {version = "0.3.1", features = ["registry", "env-filter"]}
17+
tracing-chrome = { version = "0.4.0", optional = true }
18+
tracing-tracy = { version = "0.8.0", optional = true }
1919

2020
[target.'cfg(target_os = "android")'.dependencies]
2121
android_log-sys = "0.2.0"
2222

2323
[target.'cfg(target_arch = "wasm32")'.dependencies]
2424
console_error_panic_hook = "0.1.6"
25-
tracing-wasm = "=0.2.0"
25+
tracing-wasm = "0.2.1"
2626

2727
[dev-dependencies]
2828
bevy_internal = { path = "../bevy_internal", version = "0.5.0" }

crates/bevy_log/src/android_tracing.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl core::default::Default for StringRecorder {
5454
}
5555

5656
impl<S: Subscriber + for<'a> LookupSpan<'a>> Layer<S> for AndroidLayer {
57-
fn new_span(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>) {
57+
fn on_new_span(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>) {
5858
let mut new_debug_record = StringRecorder::new();
5959
attrs.record(&mut new_debug_record);
6060

0 commit comments

Comments
 (0)