Documentation ¶
Index ¶
- func DPanic(args ...interface{})
- func DPanicf(template string, args ...interface{})
- func DPanicw(msg string, keysAndValues ...interface{})
- 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 InitLogger(logLevel string, output string)
- func Panic(args ...interface{})
- func Panicf(template string, args ...interface{})
- func Panicw(msg string, keysAndValues ...interface{})
- 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 DPanicf ¶
func DPanicf(template string, args ...interface{})
DPanicf sends a formatted dpanic level log message
func DPanicw ¶
func DPanicw(msg string, keysAndValues ...interface{})
DPanicw sends a key-value formatted dpanic level log message
func Debugf ¶
func Debugf(template string, args ...interface{})
Debugf sends a formatted debug level log message
func Debugw ¶
func Debugw(msg string, keysAndValues ...interface{})
Debugw sends a key-value formatted debug level log message
func Errorf ¶
func Errorf(template string, args ...interface{})
Errorf sends a formatted error level log message
func Errorw ¶
func Errorw(msg string, keysAndValues ...interface{})
Errorw sends a key-value formatted error level log message
func Fatalf ¶
func Fatalf(template string, args ...interface{})
Fatalf sends a formatted fatal level log message
func Fatalw ¶
func Fatalw(msg string, keysAndValues ...interface{})
Fatalw sends a key-value formatted fatal level log message
func Infof ¶
func Infof(template string, args ...interface{})
Infof sends a formatted info level log message
func Infow ¶
func Infow(msg string, keysAndValues ...interface{})
Infow sends a key-value formatted info level log message
func InitLogger ¶
InitLogger initializes the logger. Output can be either "stdout/stderr/filePath"
func Panicf ¶
func Panicf(template string, args ...interface{})
Panicf sends a formatted panic level log message
func Panicw ¶
func Panicw(msg string, keysAndValues ...interface{})
Panicw sends a key-value formatted panic level log message
Types ¶
This section is empty.