MCPcopy
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.
227type LevelEnabler interface {
228 Enabled(Level) bool
229}

Callers 15

logMethod · 0.65
loglnMethod · 0.65
checkMethod · 0.65
EnabledMethod · 0.65
TestLevelEnablerFuncFunction · 0.65
WriteMethod · 0.65
TestTeeEnabledFunction · 0.65
TestIncreaseLevelFunction · 0.65
CheckMethod · 0.65
EnabledMethod · 0.65
TestLazyCoreRaceFunction · 0.65
CheckMethod · 0.65

Implementers 9

AtomicLevellevel.go
partiallyNopCorezapio/writer_test.go
recordingCorezapcore/entry_test.go
countingCorezapcore/sampler_test.go
lazyWithCorezapcore/lazy_with.go
nopCorezapcore/core.go
enablerWithCustomLevelzapcore/level_test.go
levelFilterCorezapcore/increase_level.go
Handlerexp/zapslog/handler.go

Calls

no outgoing calls

Tested by 9

TestLevelEnablerFuncFunction · 0.52
TestTeeEnabledFunction · 0.52
TestIncreaseLevelFunction · 0.52
TestLazyCoreRaceFunction · 0.52
TestNopCoreFunction · 0.52
EnabledMethod · 0.52
BenchmarkWithoutFieldsFunction · 0.52
BenchmarkAddingFieldsFunction · 0.52