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

Method WithGroup

src/go/logger/handler.go:91–96  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

89}
90
91func (h *callDepthHandler) WithGroup(name string) slog.Handler {
92 if h.isTerminal {
93 return withTerminalCallDepth(h.depth, h.sh.WithGroup(name))
94 }
95 return withCallDepth(h.depth, h.sh.WithGroup(name))
96}
97
98func (h *callDepthHandler) Handle(ctx context.Context, r slog.Record) error {
99 if h.isTerminal && Level.Enabled(slog.LevelDebug) {

Callers

nothing calls this directly

Calls 2

withTerminalCallDepthFunction · 0.85
withCallDepthFunction · 0.85

Tested by

no test coverage detected