Documentation ¶
Index ¶
- func Debug(fields *Fields, message string)
- func Debugf(fields *Fields, format string, args ...interface{})
- func EnableFileLogger(enable bool, savePath string) error
- func EnableStd(enable bool)
- func Error(fields *Fields, message string)
- func Errorf(fields *Fields, format string, args ...interface{})
- func Fatal(fields *Fields, message string)
- func Fatalf(fields *Fields, format string, args ...interface{})
- func Info(fields *Fields, message string)
- func Infof(fields *Fields, format string, args ...interface{})
- func Panic(fields *Fields, message string)
- func Panicf(fields *Fields, format string, args ...interface{})
- func SetToDebug()
- func Warn(fields *Fields, message string)
- func Warnf(fields *Fields, format string, args ...interface{})
- type Fields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableFileLogger ¶
default file logger is disabled
func SetToDebug ¶
func SetToDebug()
Types ¶
Click to show internal directories.
Click to hide internal directories.