Documentation
¶
Index ¶
- Variables
- func Debug(args ...interface{})
- func Debugf(template string, args ...interface{})
- func Debugln(args ...interface{})
- func Error(args ...interface{})
- func Errorf(template string, args ...interface{})
- func Errorln(args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(template string, args ...interface{})
- func Fatalln(args ...interface{})
- func Info(args ...interface{})
- func Infof(template string, args ...interface{})
- func Infoln(args ...interface{})
- func Level() zapcore.Level
- func Sugared() *zap.SugaredLogger
- func Warn(args ...interface{})
- func Warnf(template string, args ...interface{})
- func Warnln(args ...interface{})
- type Logger
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = New(WithLevel(-1))
Functions ¶
func Sugared ¶
func Sugared() *zap.SugaredLogger
Types ¶
type Logger ¶
type Logger interface {
Sugared() *zap.SugaredLogger
Level() zapcore.Level
Debug(args ...interface{})
Info(args ...interface{})
Warn(args ...interface{})
Error(args ...interface{})
Fatal(args ...interface{})
Debugln(args ...interface{})
Infoln(args ...interface{})
Warnln(args ...interface{})
Errorln(args ...interface{})
Fatalln(args ...interface{})
Debugf(template string, args ...interface{})
Infof(template string, args ...interface{})
Warnf(template string, args ...interface{})
Errorf(template string, args ...interface{})
Fatalf(template string, args ...interface{})
With(args ...interface{}) Logger
}
Click to show internal directories.
Click to hide internal directories.