Documentation
¶
Index ¶
- Variables
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func InitLog(c Config)
- func InitLogger()
- func Panic(v ...interface{})
- func Panicf(format string, v ...interface{})
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- type Config
- type ILog
- type LogLevel
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *zap.Logger
Functions ¶
func InitLogger ¶
func InitLogger()
Types ¶
type ILog ¶ added in v0.0.2
type ILog interface { Info(v ...interface{}) Infof(format string, v ...interface{}) Error(v ...interface{}) Errorf(format string, v ...interface{}) Panic(v ...interface{}) Panicf(format string, v ...interface{}) Warn(v ...interface{}) Warnf(format string, v ...interface{}) Debug(v ...interface{}) Debugf(format string, v ...interface{}) }
Click to show internal directories.
Click to hide internal directories.