MCPcopy
hub / github.com/netdata/netdata / Debug

Method Debug

src/go/logger/logger.go:76–81  ·  view source on GitHub ↗
(a ...any)

Source from the content-addressed store, hash-verified

74}
75
76func (l *Logger) Debug(a ...any) {
77 if !l.canLog(slog.LevelDebug) {
78 return
79 }
80 l.log(slog.LevelDebug, fmt.Sprint(a...))
81}
82
83func (l *Logger) Errorf(format string, a ...any) {
84 if !l.canLog(slog.LevelError) {

Callers 15

flushMethod · 0.45
openMethod · 0.45
CloseMethod · 0.45
collectDbStatsMethod · 0.45
createLogReaderMethod · 0.45
createParserMethod · 0.45
initConfigMethod · 0.45
findPeersMethod · 0.45
collectCertificatesMethod · 0.45
collectPingLatencyMethod · 0.45
guessParserMethod · 0.45

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