(name string)
| 89 | } |
| 90 | |
| 91 | func (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 | |
| 98 | func (h *callDepthHandler) Handle(ctx context.Context, r slog.Record) error { |
| 99 | if h.isTerminal && Level.Enabled(slog.LevelDebug) { |
nothing calls this directly
no test coverage detected