internal
v1.28.0
go.uber.org/zap/internal
Documentation
pkg.go.dev ↗Package internal and its subpackages hold types and functionality that are not part of Zap's public API.
Types
LeveledEnabler
type LeveledEnabler interface {
zapcore.LevelEnabler
Level() zapcore.Level
}
LeveledEnabler is an interface satisfied by LevelEnablers that are able to report their own level.
This interface is defined to use more conveniently in tests and non-zapcore packages. This cannot be imported from zapcore because of the cyclic dependency.