MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / CtxLogger

Method CtxLogger

api/pkg/telemetry/tracer.go:30–30  ·  view source on GitHub ↗

CtxLogger creates a telemetry.Logger with spanContext attributes in the structured logger

(logger Logger, span trace.Span)

Source from the content-addressed store, hash-verified

28
29 // CtxLogger creates a telemetry.Logger with spanContext attributes in the structured logger
30 CtxLogger(logger Logger, span trace.Span) Logger
31
32 // WrapErrorSpan sets a spanContext as error
33 WrapErrorSpan(span trace.Span, err error) error

Callers 15

ValidateMessageSendMethod · 0.65
BearerAuthFunction · 0.65
APIKeyAuthFunction · 0.65
IndexMethod · 0.65
DeleteMethod · 0.65
ScheduleMethod · 0.65
updateStatusMethod · 0.65
RegisterSentMessageMethod · 0.65

Implementers 1

otelTracerapi/pkg/telemetry/otel_tracer.go

Calls

no outgoing calls

Tested by

no test coverage detected