Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug func(args ...interface{})
View Source
var Debugf func(template string, args ...interface{})
View Source
var Debugw func(msg string, keysAndValues ...interface{})
exported functions
View Source
var Error func(args ...interface{})
View Source
var Errorf func(template string, args ...interface{})
View Source
var Errorw func(msg string, keysAndValues ...interface{})
View Source
var Fatal func(args ...interface{})
View Source
var Fatalf func(template string, args ...interface{})
View Source
var Fatalw func(msg string, keysAndValues ...interface{})
View Source
var Info func(args ...interface{})
View Source
var Infof func(template string, args ...interface{})
View Source
var Infow func(msg string, keysAndValues ...interface{})
View Source
var LogLevels = map[string]zapcore.Level{ "debug": zapcore.DebugLevel, "info": zapcore.InfoLevel, "warn": zapcore.WarnLevel, "error": zapcore.ErrorLevel, }
View Source
var Logger *zap.SugaredLogger
Logger is the log printer
View Source
var Panic func(args ...interface{})
View Source
var Panicf func(template string, args ...interface{})
View Source
var Panicw func(msg string, keysAndValues ...interface{})
View Source
var Warn func(args ...interface{})
View Source
var Warnf func(template string, args ...interface{})
View Source
var Warnw func(msg string, keysAndValues ...interface{})
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.