MCPcopy
hub / github.com/netdata/netdata / emitWhenInfo

Function emitWhenInfo

src/go/logger/handler_test.go:66–68  ·  view source on GitHub ↗

go:noinline

(l *Logger)

Source from the content-addressed store, hash-verified

64
65//go:noinline
66func emitWhenInfo(l *Logger) {
67 l.When(true).Info("x")
68}
69
70func TestCallDepthTerminalDebugUsesDynamicResolverForWhen(t *testing.T) {
71 setTestLevel(t, slog.LevelDebug)

Calls 2

WhenMethod · 0.80
InfoMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…