Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
216
var
_ leveledEnabler = (*enablerWithCustomLevel)(nil)
217
218
func
(l *enablerWithCustomLevel) Enabled(lvl Level) bool {
219
return
l.lvl.Enabled(lvl)
220
}
221
222
func
(l *enablerWithCustomLevel) Level() Level {
223
return
l.lvl
Callers
nothing calls this directly
Calls
1
Enabled
Method · 0.65
Tested by
no test coverage detected