Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownLevel = errors.New("unknown log level")
Functions ¶
func ToZapLevel ¶
ToZapLevel converts our Level to zapcore.Level
Types ¶
type Level ¶
type Level int8
Level represents a logging level
func FromZapLevel ¶
FromZapLevel converts zapcore.Level to our Level
func (Level) LowerString ¶
LowerString returns the lowercase string representation of a Level
func (Level) MarshalJSON ¶
MarshalJSON marshals the Level to JSON
func (*Level) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Level from JSON
Click to show internal directories.
Click to hide internal directories.