Cargo Features

soph-tracing has no features set by default.

[dependencies]
soph-tracing = { version = "0.24.0", features = ["console", "env-filter", "error", "opentelemetry", "opentelemetry-stdout"] }
console

Enables console-subscriber

optional

env-filter

Enables env-filter of tracing-subscriber

error

Enables tracing-error

opentelemetry

Enables opentelemetry, opentelemetry-appender-tracing, opentelemetry-otlp, opentelemetry-semantic-conventions, opentelemetry_sdk, and tracing-opentelemetry

Features from optional dependencies

opentelemetry-stdout implicit feature

Enables opentelemetry-stdout

opentelemetry-stdout:

An OpenTelemetry exporter for stdout