Cargo Features

[dependencies]
armature-log = { version = "0.1.0", default-features = false, features = ["tracing", "color", "json"] }
default = json

The json feature is set by default whenever armature-log is added without default-features = false somewhere in the dependency tree.

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