MCPcopy
hub / github.com/deepops-ai/deepops / spanLogger

Struct spanLogger

backend/pkg/log/spanlogger.go:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27)
28
29type spanLogger struct {
30 logger *zap.Logger
31 span trace.Span
32 spanFields []zapcore.Field
33}
34
35func (sl spanLogger) Debug(msg string, fields ...zapcore.Field) {
36 sl.logToSpan("debug", msg, fields...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected