Documentation ¶
Index ¶
- type Logrus
- func (l *Logrus) Debugw(msg string, keysAndValues ...interface{})
- func (l *Logrus) Errorw(msg string, keysAndValues ...interface{})
- func (l *Logrus) Infow(msg string, keysAndValues ...interface{})
- func (l *Logrus) Panicw(msg string, keysAndValues ...interface{})
- func (l *Logrus) Trace(args ...interface{})
- func (l *Logrus) Tracef(format string, values ...interface{})
- func (l *Logrus) Tracew(msg string, keysAndValues ...interface{})
- func (l *Logrus) Warnw(msg string, keysAndValues ...interface{})
- type ZapLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logrus ¶
type Logrus struct {
logrus.FieldLogger
}
func NewLogrus ¶
func NewLogrus(logger logrus.FieldLogger) *Logrus
NewLogrus creates a wrapped Logrus logger
func (*Logrus) Trace ¶
func (l *Logrus) Trace(args ...interface{})
Trace is a shim stand-in for when we have real trace-level logging support
type ZapLogger ¶
type ZapLogger struct {
*zap.SugaredLogger
}
func NewZapLogger ¶
func NewZapLogger(logger *zap.SugaredLogger) *ZapLogger
NewZapLogger creates a wrapped zap logger
func (*ZapLogger) Trace ¶
func (zl *ZapLogger) Trace(args ...interface{})
Trace is a shim stand-in for when we have real trace-level logging support
Click to show internal directories.
Click to hide internal directories.