Documentation ¶
Index ¶
- func Debug(v ...interface{})
- func Error(v ...interface{})
- func Errorln(v ...interface{})
- func GetDebugLogPath() string
- func GetErrLogPath() string
- func GetInfoLogPath() string
- func Info(v ...interface{})
- func NewLogger(level zapcore.Level, maxSize int, maxBackups int, maxAge int, compress bool, ...)
- func Panic(v ...interface{})
- func Setup()
- func TimeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder)
- func Warn(v ...interface{})
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDebugLogPath ¶
func GetDebugLogPath() string
func GetErrLogPath ¶
func GetErrLogPath() string
func GetInfoLogPath ¶
func GetInfoLogPath() string
func TimeEncoder ¶
func TimeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder)
Types ¶
Click to show internal directories.
Click to hide internal directories.