MCPcopy Index your code
hub / github.com/netdata/netdata / Once

Function Once

src/go/logger/default.go:28–28  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

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)
31}

Callers

nothing calls this directly

Calls 1

OnceMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…