(attrs []slog.Attr)
| 82 | } |
| 83 | |
| 84 | func (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 | |
| 91 | func (h *callDepthHandler) WithGroup(name string) slog.Handler { |
| 92 | if h.isTerminal { |
nothing calls this directly
no test coverage detected