Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEncoderConfig ¶
func NewEncoderConfig() zapcore.EncoderConfig
func NewLogrusLogger ¶
Types ¶
type DefaultFieldHook ¶
type DefaultFieldHook struct { }
自定义Hook 接口
func (*DefaultFieldHook) Levels ¶
func (hook *DefaultFieldHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.