diff --git a/crates/bevy_log/Cargo.toml b/crates/bevy_log/Cargo.toml index e535408ee6608..20096e8e42bda 100644 --- a/crates/bevy_log/Cargo.toml +++ b/crates/bevy_log/Cargo.toml @@ -13,16 +13,16 @@ keywords = ["bevy"] bevy_app = { path = "../bevy_app", version = "0.5.0" } bevy_utils = { path = "../bevy_utils", version = "0.5.0" } -tracing-subscriber = {version = "=0.2.24", features = ["registry"]} -tracing-chrome = { version = "=0.3.1", optional = true } -tracing-tracy = { version = "0.7.0", optional = true } +tracing-subscriber = {version = "0.3.1", features = ["registry", "env-filter"]} +tracing-chrome = { version = "0.4.0", optional = true } +tracing-tracy = { version = "0.8.0", optional = true } [target.'cfg(target_os = "android")'.dependencies] android_log-sys = "0.2.0" [target.'cfg(target_arch = "wasm32")'.dependencies] console_error_panic_hook = "0.1.6" -tracing-wasm = "=0.2.0" +tracing-wasm = "0.2.1" [dev-dependencies] bevy_internal = { path = "../bevy_internal", version = "0.5.0" } diff --git a/crates/bevy_log/src/android_tracing.rs b/crates/bevy_log/src/android_tracing.rs index d9d00af48883a..a5e7bc8626b2e 100644 --- a/crates/bevy_log/src/android_tracing.rs +++ b/crates/bevy_log/src/android_tracing.rs @@ -54,7 +54,7 @@ impl core::default::Default for StringRecorder { } impl LookupSpan<'a>> Layer for AndroidLayer { - fn new_span(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>) { + fn on_new_span(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>) { let mut new_debug_record = StringRecorder::new(); attrs.record(&mut new_debug_record);