package
1.0.0
Repository: https://github.com/zalgonoise/fts.git
Documentation: pkg.go.dev

# Functions

NewSpanContextHandler creates a slog.Handler that is able to register the trace and span ID from the input context when logging a given event.
WithHandler uses the input slog.Handler as a base when creating the SpanContextHandler.
WithLogger uses the input slog.Logger's slog.Handler as a base when creating the SpanContextHandler.
WithSpanID enables adding an attribute with the span ID data; as an optional setting.

# Constants

https://opentelemetry.io/docs/specs/otel/compatibility/logging_trace_context/.
https://opentelemetry.io/docs/specs/otel/compatibility/logging_trace_context/.

# Structs

Config defines optional configuration settings for a SpanContextHandler.
No description provided by the author