MCPcopy
hub / github.com/netdata/netdata / ResetAllOnce

Method ResetAllOnce

src/go/logger/ratelimit.go:89–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87}
88
89func (l *Logger) ResetAllOnce() {
90 if l == nil || l.rl == nil {
91 return
92 }
93 l.rl.resetAllMode(modeOnce)
94}
95
96func (l LimitedLogger) Error(a ...any) {
97 l.logArgs(slog.LevelError, a...)

Callers 6

runOnceMethod · 0.80
runOnceMethod · 0.80
TestNewFunction · 0.80
ResetAllOnceFunction · 0.80

Implementers 7

ProtocolClientsrc/go/plugin/ibm.d/framework/protocol
CollectorStatesrc/go/plugin/ibm.d/framework/types.go
nopLoggersrc/go/plugin/ibm.d/protocols/webspher
testLoggersrc/go/plugin/ibm.d/protocols/jmxbridg
Loggersrc/go/logger/logger.go
ConditionalLoggersrc/go/logger/conditional.go
LimitedLoggersrc/go/logger/ratelimit.go

Calls 1

resetAllModeMethod · 0.80

Tested by 3

TestNewFunction · 0.64