Documentation ¶
Overview ¶
Package log provides convenient methods to use the logger.
Index ¶
- func CloseDebug()
- func Debug(args ...interface{})
- func Debugf(template string, args ...interface{})
- func Debugw(msg string, keysAndValues ...interface{})
- func Error(args ...interface{})
- func Errorf(template string, args ...interface{})
- func Errorw(msg string, keysAndValues ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(template string, args ...interface{})
- func Fatalw(msg string, keysAndValues ...interface{})
- func Info(args ...interface{})
- func Infof(template string, args ...interface{})
- func Infow(msg string, keysAndValues ...interface{})
- func Initialize(logFile string)
- func OpenDebug()
- func Warn(args ...interface{})
- func Warnf(template string, args ...interface{})
- func Warnw(msg string, keysAndValues ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseDebug ¶
func CloseDebug()
func Error ¶
func Error(args ...interface{})
Wrap the methods of global sugared logger for purpose of removing the ugly S() method call to write log
func Initialize ¶
func Initialize(logFile string)
Initialize initializes the internal global logger.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.