feat(logging): add a journald feature to log to systemd

This commit is contained in:
Harsh Shandilya 2022-03-10 14:20:20 +05:30
parent 28fa08a67b
commit 139e833d04
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 26 additions and 0 deletions

View file

@ -20,7 +20,11 @@ serde = "1.0.136"
serde_derive = "1.0.136"
toml = "0.5.8"
tracing = "0.1.32"
tracing-journald = { version = "0.2.3", optional = true }
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
[dev-dependencies]
assay = "0.1.1"
[features]
journald = ["tracing-journald"]