From 7959b51dbb2dbe13297a1ee0702eb4831348703e Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 5 Jun 2026 18:17:55 +0200 Subject: chore: use tracing-subscriber crate's tracing-log feature --- Cargo.lock | 2 +- Cargo.toml | 4 +--- src/main.rs | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4fe3592..c1ac021 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -818,7 +818,6 @@ version = "0.1.0" dependencies = [ "engine", "tracing", - "tracing-log", "tracing-subscriber", ] @@ -2558,6 +2557,7 @@ dependencies = [ "thread_local", "tracing", "tracing-core", + "tracing-log", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 2755fc8..ba5027d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,9 +17,7 @@ opengl-bindings = { path = "opengl-bindings" } [dependencies] engine = { path = "./engine" } tracing = { version = "0.1.39", features = ["max_level_trace", "release_max_level_warn"] } -tracing-log = "0.2.0" [dependencies.tracing-subscriber] version = "0.3.17" -default-features = false -features = ["std", "ansi", "fmt", "smallvec", "env-filter", "chrono"] +features = ["env-filter", "chrono", "tracing-log"] diff --git a/src/main.rs b/src/main.rs index badb3fd..c2cd831 100644 --- a/src/main.rs +++ b/src/main.rs @@ -61,8 +61,6 @@ fn main() -> Result<(), Box> ) .init(); - tracing_log::LogTracer::init()?; - let mut engine = Engine::new(); engine.spawn(( -- cgit v1.2.3-18-g5258