Documentation ¶
Index ¶
- func DPanic(args ...interface{})
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Debugw(msg string, keysAndValues ...interface{})
- func Desugar() *zap.Logger
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Errorw(msg string, keysAndValues ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Fatalw(msg string, keysAndValues ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func Infow(msg string, keysAndValues ...interface{})
- func Logger() *zap.SugaredLogger
- func NewSentryCore(cfg SentryCoreConfig) zapcore.Core
- func Panic(args ...interface{})
- func Panicf(format string, args ...interface{})
- func Panicw(msg string, keysAndValues ...interface{})
- func SetConfig(b bool, p, lv string)
- func Warn(args ...interface{})
- func WarnDB(tx *gorm.DB, args ...interface{}) (err error)
- func WarnErr(err error, args ...interface{})
- func Warnf(format string, args ...interface{})
- func Warnw(msg string, keysAndValues ...interface{})
- func With(args ...interface{}) *zap.SugaredLogger
- type SentryCoreConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Infof ¶
func Infof(format string, args ...interface{})
Infof formats according to a format specifier and returns the resulting string.
func Logger ¶
func Logger() *zap.SugaredLogger
func Panicw ¶
func Panicw(msg string, keysAndValues ...interface{})
Panicw logs a message with some additional context, then panics. The variadic key-value pairs are treated as they are in With.
func With ¶
func With(args ...interface{}) *zap.SugaredLogger
Types ¶
Click to show internal directories.
Click to hide internal directories.