MCPcopy Index your code
hub / github.com/docker/docker-agent / Error

Method Error

pkg/telemetry/client.go:38–40  ·  view source on GitHub ↗

Error logs an error message with "[Telemetry]" prefix

(msg string, args ...any)

Source from the content-addressed store, hash-verified

36
37// Error logs an error message with "[Telemetry]" prefix
38func (tl *telemetryLogger) Error(msg string, args ...any) {
39 tl.logger.Error("[Telemetry] "+msg, args...)
40}
41
42// Enabled returns whether the logger is enabled for the given level
43func (tl *telemetryLogger) Enabled(ctx context.Context, level slog.Level) bool {

Callers 15

TrackCommandErrorFunction · 0.45
printEventMethod · 0.45
trackMethod · 0.45
RecordToolCallMethod · 0.45
RecordErrorMethod · 0.45
RecordErrorMethod · 0.45
RecordErrorMethod · 0.45
RecordErrorMethod · 0.45
RecordErrorMethod · 0.45

Calls

no outgoing calls