Cargo Features
Logforth has no features set by default.
[dependencies]
logforth = { version = "0.18.1", features = ["fastrace", "journald", "json", "native-tls", "no-color", "non-blocking", "opentelemetry", "rolling-file", "syslog"] }
- fastrace
-
Enables fastrace
- journald
-
Enables libc
- json
-
Enables serde and serde_json, serde of jiff
- native-tls
-
Enables native-tls, native-tls of optional fasyslog
- no-color
-
colored:
with this feature, no color will ever be written
- non-blocking rolling-file? syslog?
-
Enables crossbeam-channel
Optional dependencies
Affects
logforth::non_blocking
… - opentelemetry
-
Enables opentelemetry, opentelemetry-otlp, and opentelemetry_sdk
Affects
append::opentelemetry
… - rolling-file = non-blocking
-
Affects
append::rolling_file
… - syslog = non-blocking
-
Enables fasyslog
Affects
append::syslog
…