(minLvl slog.Level)
| 19 | } |
| 20 | |
| 21 | func newCaptureHandler(minLvl slog.Level) *captureHandler { |
| 22 | return &captureHandler{minLvl: minLvl} |
| 23 | } |
| 24 | |
| 25 | func (h *captureHandler) Enabled(_ context.Context, lvl slog.Level) bool { |
| 26 | return lvl >= h.minLvl |
no outgoing calls
no test coverage detected
searching dependent graphs…