package
1.19.0
Repository: https://github.com/cortexproject/cortex.git
Documentation: pkg.go.dev

# Functions

FromContext returns a span logger using the current parent span.
FromContextWithFallback returns a span logger using the current parent span.
New makes a new SpanLogger, where logs will be sent to the global logger.
NewWithLogger makes a new SpanLogger with a custom log.Logger to send logs to.

# Constants

# Structs

SpanLogger unifies tracing and logging, to reduce repetition.