MCPcopy Index your code
hub / github.com/netdata/netdata / newCaptureHandler

Function newCaptureHandler

src/go/logger/testutils_test.go:21–23  ·  view source on GitHub ↗
(minLvl slog.Level)

Source from the content-addressed store, hash-verified

19}
20
21func newCaptureHandler(minLvl slog.Level) *captureHandler {
22 return &captureHandler{minLvl: minLvl}
23}
24
25func (h *captureHandler) Enabled(_ context.Context, lvl slog.Level) bool {
26 return lvl >= h.minLvl

Callers 1

newTestLoggerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…