forked from nonsensical-dev/zenyx-engine
feat(zlog)!: JSON logging support
This commit is contained in:
parent
01c3699d86
commit
e347fe6d54
5 changed files with 162 additions and 12 deletions
|
@ -6,6 +6,14 @@ edition = "2024"
|
|||
[dependencies]
|
||||
tracing = "0.1.41"
|
||||
tracing-subscriber = "0.3.19"
|
||||
serde = { version = "1.0.219", optional = true }
|
||||
serde_json = { version = "1.0.140", optional = true }
|
||||
chrono = { version = "0.4.40", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "1.4.1"
|
||||
|
||||
[features]
|
||||
default = ["json"]
|
||||
json = ["dep:serde_json", "dep:chrono", "serde"]
|
||||
serde = ["dep:serde"]
|
Loading…
Add table
Add a link
Reference in a new issue