MCPcopy
hub / github.com/uber-go/zap / Enabled

Method Enabled

zapcore/level_test.go:218–220  ·  view source on GitHub ↗
(lvl Level)

Source from the content-addressed store, hash-verified

216var _ leveledEnabler = (*enablerWithCustomLevel)(nil)
217
218func (l *enablerWithCustomLevel) Enabled(lvl Level) bool {
219 return l.lvl.Enabled(lvl)
220}
221
222func (l *enablerWithCustomLevel) Level() Level {
223 return l.lvl

Callers

nothing calls this directly

Calls 1

EnabledMethod · 0.65

Tested by

no test coverage detected