Documentation ¶
Index ¶
- func Debug(format string, args ...interface{})
- func Error(format string, args ...interface{})
- func Info(format string, args ...interface{})
- func InitLogger(logFile string, maxSize, maxBackups, maxAge int, compress bool, level string)
- func Sync()
- func Warn(format string, args ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
Types ¶
type Logger ¶
type Logger struct {
Sugar *zap.SugaredLogger
}
Click to show internal directories.
Click to hide internal directories.