Documentation ¶
Index ¶
- func DPanic(args ...interface{})
- func DPanicf(format string, args ...interface{})
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func Init(cfg *Config)
- func Logger() *zap.Logger
- func NewFileLogger(path string) *zap.Logger
- func NopSugaredLogger() *zap.SugaredLogger
- func Panic(args ...interface{})
- func Panicf(format string, args ...interface{})
- func SugaredLogger() *zap.SugaredLogger
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- func Warning(args ...interface{})
- func Warningf(format string, args ...interface{})
- func With(fields ...zap.Field) *zap.Logger
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileLogger ¶
func NopSugaredLogger ¶
func NopSugaredLogger() *zap.SugaredLogger
func SugaredLogger ¶
func SugaredLogger() *zap.SugaredLogger
Types ¶
Click to show internal directories.
Click to hide internal directories.