Cargo Features

Logforth has no features set by default.

[dependencies]
logforth = { version = "0.12.0", features = ["env-filter", "fastrace", "json", "no-color", "opentelemetry", "rolling_file"] }
env-filter

Enables env_filter

Affects filter::env

fastrace

Enables fastrace

json

Enables serde and serde_json, serde of jiff

no-color

Enables no-color of colored

colored:

with this feature, no color will ever be written

opentelemetry

Enables opentelemetry ^0.24, opentelemetry-otlp ^0.17, and opentelemetry_sdk ^0.24

Affects append::opentelemetry

rolling_file

Enables crossbeam-channel and parking_lot

Affects append::rolling_file