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

Method WithAttrs

src/go/logger/handler.go:84–89  ·  view source on GitHub ↗
(attrs []slog.Attr)

Source from the content-addressed store, hash-verified

82}
83
84func (h *callDepthHandler) WithAttrs(attrs []slog.Attr) slog.Handler {
85 if h.isTerminal {
86 return withTerminalCallDepth(h.depth, h.sh.WithAttrs(attrs))
87 }
88 return withCallDepth(h.depth, h.sh.WithAttrs(attrs))
89}
90
91func (h *callDepthHandler) WithGroup(name string) slog.Handler {
92 if h.isTerminal {

Callers

nothing calls this directly

Calls 2

withTerminalCallDepthFunction · 0.85
withCallDepthFunction · 0.85

Tested by

no test coverage detected