feat: integrate dioxus-logger inline (#3302)
* feat: integrate dioxus-logger inline * remove log/simple logger references * fix: add dioxus-data-id-0 to root elements to not emit errors internally * drop config.toml and use cargo.toml profiles instead * make clippy happy with the unit value lint * feat: better presentation for logging
This commit is contained in:
1 parent
995a529b2f
commit
7d490dc3bd
36 files changed
+255
-169
No files matched your search
@@ -0,0 +1,25 @@
|
||||
[package]
|
||||
name = "dioxus-logger"
|
||||
version = { workspace = true }
|
||||
edition = "2021"
|
||||
description = "A logging utility to provide a standard interface whether you're targetting 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"] }
|
||||
|
||||
[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" ] }
|
||||
Reference in new issue
Block a user