MCPcopy
hub / github.com/netdata/netdata / Logger

Struct Logger

src/go/logger/logger.go:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42type Logger struct {
43 muted atomic.Bool
44 sl *slog.Logger
45 rl *rateLimiter
46}
47
48func (l *Logger) Error(a ...any) {
49 if !l.canLog(slog.LevelError) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected