Cargo Features
[dependencies]
armature-log = { version = "0.1.0", default-features = false, features = ["tracing", "color", "json"] }
- default = json
-
The
jsonfeature is set by default wheneverarmature-logis added withoutsomewhere in the dependency tree.default-features = false - tracing
-
Enable tracing integration
Enables tracing and tracing-subscriber
tracing:
Optional dependencies
Affects
armature-log::tracing_compat… - color
-
Enable colored output
Enables colored ^2.1
- json default
-
Enable JSON logging format (enabled by default for structured logging)
Enables serde and serde_json