Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/uber-go/zap
/ Enabled
Method
Enabled
zapcore/level.go:228–228 ·
view source on GitHub ↗
(Level)
Source
from the content-addressed store, hash-verified
226
// FatalLevel, but return false for InfoLevel and DebugLevel.
227
type
LevelEnabler
interface
{
228
Enabled(Level) bool
229
}
Callers
15
log
Method · 0.65
logln
Method · 0.65
check
Method · 0.65
Enabled
Method · 0.65
TestLevelEnablerFunc
Function · 0.65
Write
Method · 0.65
TestTeeEnabled
Function · 0.65
TestIncreaseLevel
Function · 0.65
Check
Method · 0.65
Enabled
Method · 0.65
TestLazyCoreRace
Function · 0.65
Check
Method · 0.65
Implementers
9
AtomicLevel
level.go
partiallyNopCore
zapio/writer_test.go
recordingCore
zapcore/entry_test.go
countingCore
zapcore/sampler_test.go
lazyWithCore
zapcore/lazy_with.go
nopCore
zapcore/core.go
enablerWithCustomLevel
zapcore/level_test.go
levelFilterCore
zapcore/increase_level.go
Handler
exp/zapslog/handler.go
Calls
no outgoing calls
Tested by
9
TestLevelEnablerFunc
Function · 0.52
TestTeeEnabled
Function · 0.52
TestIncreaseLevel
Function · 0.52
TestLazyCoreRace
Function · 0.52
TestNopCore
Function · 0.52
Enabled
Method · 0.52
BenchmarkWithoutFields
Function · 0.52
BenchmarkAccumulatedContext
Function · 0.52
BenchmarkAddingFields
Function · 0.52