MCPcopy
hub / github.com/netdata/netdata / Logger

Interface Logger

src/go/plugin/ibm.d/framework/types.go:9–14  ·  view source on GitHub ↗

Logger interface for logging functionality

Source from the content-addressed store, hash-verified

7
8// Logger interface for logging functionality
9type Logger interface {
10 Debugf(format string, args ...any)
11 Warningf(format string, args ...any)
12 Errorf(format string, args ...any)
13 Infof(format string, args ...any)
14}
15
16// Context represents a metric collection context with compile-time type safety
17type Context[T any] struct {

Callers 88

TestNewFunction · 0.80
WhenFunction · 0.80
emitWhenInfoFunction · 0.80
isAlreadyExistsFunction · 0.45
ErrorFunction · 0.45
initMetricsFunction · 0.45
handlerFunction · 0.45
healthHandlerFunction · 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

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…