MCPcopy
hub / github.com/netdata/netdata / Warningf

Method Warningf

src/go/logger/logger.go:90–95  ·  view source on GitHub ↗
(format string, a ...any)

Source from the content-addressed store, hash-verified

88}
89
90func (l *Logger) Warningf(format string, a ...any) {
91 if !l.canLog(slog.LevelWarn) {
92 return
93 }
94 l.log(slog.LevelWarn, fmt.Sprintf(format, a...))
95}
96
97func (l *Logger) Noticef(format string, a ...any) {
98 if !l.canLog(levelNotice) {

Callers

nothing calls this directly

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 2

canLogMethod · 0.95
logMethod · 0.95

Tested by

no test coverage detected