Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(template string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(template string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(template string, args ...interface{})
- func GetExeName() string
- func GetLogWriter() io.Writer
- func Info(args ...interface{})
- func Infof(template string, args ...interface{})
- func Init(cfg *LogConfig) *zap.Logger
- func Warn(args ...interface{})
- func Warnf(template string, args ...interface{})
- type LogConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExeName ¶ added in v1.1.3
func GetExeName() string
func DPanic(args ...interface{}) { logLogger.DPanic(args...) }
func DPanicf(template string, args ...interface{}) { logLogger.DPanicf(template, args...) }
func Panic(args ...interface{}) { logLogger.Panic(args...) }
func Panicf(template string, args ...interface{}) { logLogger.Panicf(template, args...) }
func Fatal(args ...interface{}) { logLogger.Fatal(args...) }
func Fatalf(template string, args ...interface{}) { logLogger.Fatalf(template, args...) }
func GetLogWriter ¶ added in v1.2.0
Types ¶
Click to show internal directories.
Click to hide internal directories.