MCPcopy
hub / github.com/netdata/netdata / LimitedLogger

Struct LimitedLogger

src/go/logger/ratelimit.go:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55type LimitedLogger struct {
56 l *Logger
57 mode limitMode
58 key string
59 limit int
60 window time.Duration
61}
62
63func (l *Logger) Once(key string) LimitedLogger {
64 return LimitedLogger{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected