Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLogLevel ¶ added in v0.3.0
GetLogLevel returns a new log level instance.
func NewDevInfoLogger ¶
NewDevInfoLogger creates a new development logger at the INFO level.
func NewDevLogger ¶
NewDevLogger creates a new logger with a given log level for use in development (i.e., not production).
Types ¶
type ErrArray ¶
type ErrArray []error
ErrArray is an array of errors
func ToErrArray ¶
ToErrArray concerts a map of errors to an array of errors.
func (ErrArray) MarshalLogArray ¶
func (errs ErrArray) MarshalLogArray(arr zapcore.ArrayEncoder) error
MarshalLogArray marshals the array of errors.
Click to show internal directories.
Click to hide internal directories.