Documentation
¶
Index ¶
- Variables
- func NewZapLogger(r *rb.Rollbar) *zap.Logger
- type AppLogger
- func (l *AppLogger) Debug(msg string, fields ...interface{})
- func (l *AppLogger) Error(err error, fields ...interface{})
- func (l *AppLogger) Fatal(err error, fields ...interface{})
- func (l *AppLogger) Info(msg string, fields ...interface{})
- func (l *AppLogger) Panic(err error, fields ...interface{})
- func (l *AppLogger) Warn(msg string, fields ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewZapLogger, NewAppLogger)
Functions ¶
Types ¶
type Logger ¶
type Logger interface {
Debug(msg string, fields ...interface{})
Info(msg string, fields ...interface{})
Warn(msg string, fields ...interface{})
Error(err error, fields ...interface{})
Panic(err error, fields ...interface{})
Fatal(err error, fields ...interface{})
}
func NewAppLogger ¶
Click to show internal directories.
Click to hide internal directories.