Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogger ¶
func NewLogger(logPath string, maxFileSize, maxFileIndex int, compress bool, level zapcore.Level) (*zap.Logger, error)
NewLogger
@param level e.g. zap.InfoLevel
func NewSugaredLogger ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.