Files
dioxus/packages/logger/Cargo.toml
T
Henry 93a557c322 Env logger feature (#3775)
* feat: Expose and configure tracing env-filter

* doc: Add env-filter doc part

* chore: Remove conditional import

* Move logger env-filter feature out of feature flag

* Update logger env filtering

* Add RUST_LOG to the process from the cli

* Typo

* fix clippy

* clippy
2025-04-15 14:21:28 -07:00

32 lines
1008 B
TOML

[package]
name = "dioxus-logger"
version = { workspace = true }
edition = "2021"
description = "A logging utility to provide a standard interface whether you're targeting web desktop, fullstack, and more."
authors = ["DogeDark", "Jonathan Kelley"]
repository = "https://github.com/dioxuslabs/dioxus"
homepage = "https://github.com/dioxuslabs/dioxus"
readme = "README.md"
license = "MIT"
keywords = ["dioxus", "log", "logging"]
categories = ["development-tools::debugging"]
[dependencies]
dioxus-cli-config = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true, features = ["registry", "std", "env-filter"] }
[features]
default = []
[target.'cfg(target_arch = "wasm32")'.dependencies]
tracing-wasm = { workspace = true }
console_error_panic_hook = { workspace = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tracing-subscriber = { workspace = true, features = ["fmt"] }
[dev-dependencies]
dioxus = { workspace = true, features = ["fullstack"] }