MCPcopy
hub / github.com/netdata/netdata / Error

Method Error

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

Source from the content-addressed store, hash-verified

46}
47
48func (l *Logger) Error(a ...any) {
49 if !l.canLog(slog.LevelError) {
50 return
51 }
52 l.log(slog.LevelError, fmt.Sprint(a...))
53}
54
55func (l *Logger) Warning(a ...any) {
56 if !l.canLog(slog.LevelWarn) {

Callers 6

isAlreadyExistsFunction · 0.45
ErrorFunction · 0.45
initMetricsFunction · 0.45
handlerFunction · 0.45
healthHandlerFunction · 0.45
mainFunction · 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