Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsoleEncoderConfig ¶
func NewConsoleEncoderConfig() zapcore.EncoderConfig
func NewDefaultLogger ¶
NewDefaultLogger 获取默认logger 提供两种输出文件以及标准输出
func NewFileCore ¶
func NewFileEncoderConfig ¶
func NewFileEncoderConfig() zapcore.EncoderConfig
func NewStdCore ¶
func Suger ¶
func Suger() *zap.SugaredLogger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.