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.
type LeveledEnabler interface { zapcore.LevelEnabler Level() zapcore.Level }
Name | Synopsis |
---|---|
.. |