Cargo Features

Logforth has no features set by default.

[dependencies]
logforth = { version = "0.23.1", features = ["colored", "fastrace", "journald", "json", "native-tls", "non-blocking", "opentelemetry", "rolling-file", "syslog"] }
colored

Enables colored

Optional dependencies

Affects logforth::color

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

non-blocking rolling-file? syslog?

Enables crossbeam-channel

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