MCPcopy
hub / github.com/netdata/netdata / When

Function When

src/go/logger/default.go:27–27  ·  view source on GitHub ↗
(cond bool)

Source from the content-addressed store, hash-verified

25func Debugf(format string, a ...any) { defaultLogger.Debugf(format, a...) }
26func With(args ...any) *Logger { return defaultLogger.With(args...) }
27func When(cond bool) ConditionalLogger { return defaultLogger.When(cond) }
28func Once(key string) LimitedLogger { return defaultLogger.Once(key) }
29func Limit(key string, n int, d time.Duration) LimitedLogger {
30 return defaultLogger.Limit(key, n, d)

Callers

nothing calls this directly

Calls 1

WhenMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…