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

Method WithSpan

api/pkg/telemetry/logger.go:19–19  ·  view source on GitHub ↗

WithSpan creates a new structured logger instance for a spanContext

(span trace.SpanContext)

Source from the content-addressed store, hash-verified

17
18 // WithSpan creates a new structured logger instance for a spanContext
19 WithSpan(span trace.SpanContext) Logger
20
21 // Trace logs a new message with trace level.
22 Trace(value string)

Callers 5

CtxLoggerMethod · 0.65
InfoMethod · 0.65
WarnMethod · 0.65
ErrorMethod · 0.65
TraceMethod · 0.65

Implementers 2

zerologLoggerapi/pkg/telemetry/zerolog_logger.go
noopLoggerapi/pkg/services/message_service_test.

Calls

no outgoing calls

Tested by

no test coverage detected