MCPcopy
hub / github.com/NdoleStudio/httpsms / StartWithLogger

Method StartWithLogger

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

StartWithLogger creates a spanContext and a context.Context containing the newly-created spanContext with a logger

(c context.Context, logger Logger, name ...string)

Source from the content-addressed store, hash-verified

25
26 // StartWithLogger creates a spanContext and a context.Context containing the newly-created spanContext with a logger
27 StartWithLogger(c context.Context, logger Logger, name ...string) (context.Context, trace.Span, Logger)
28
29 // CtxLogger creates a telemetry.Logger with spanContext attributes in the structured logger
30 CtxLogger(logger Logger, span trace.Span) Logger

Callers 15

ValidateTokenMethod · 0.65
ValidateStoreMethod · 0.65
ValidateStoreMethod · 0.65
ValidateUpdateMethod · 0.65
IndexMethod · 0.65
CreateMethod · 0.65
DeleteMethod · 0.65
RemovePhoneMethod · 0.65
RemovePhoneByIDMethod · 0.65
DeleteAllForUserMethod · 0.65
AddPhoneMethod · 0.65

Implementers 1

otelTracerapi/pkg/telemetry/otel_tracer.go

Calls

no outgoing calls

Tested by

no test coverage detected