Documentation ¶
Index ¶
- func New(logger logrus.FieldLogger) log.Logger
- type Logger
- func (d *Logger) Debug(args ...interface{})
- func (d *Logger) Debugf(format string, args ...interface{})
- func (d *Logger) Debugln(args ...interface{})
- func (d *Logger) Error(args ...interface{})
- func (d *Logger) Errorf(format string, args ...interface{})
- func (d *Logger) Errorln(args ...interface{})
- func (d *Logger) Info(args ...interface{})
- func (d *Logger) Infof(format string, args ...interface{})
- func (d *Logger) Infoln(args ...interface{})
- func (d *Logger) Panic(args ...interface{})
- func (d *Logger) Panicf(format string, args ...interface{})
- func (d *Logger) Panicln(args ...interface{})
- func (d *Logger) Warn(args ...interface{})
- func (d *Logger) Warnf(format string, args ...interface{})
- func (d *Logger) Warnln(args ...interface{})
- func (d *Logger) WithError(err error) log.Logger
- func (d *Logger) WithField(key string, value interface{}) log.Logger
- func (d *Logger) WithFields(fields log.Fields) log.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
Logger logrus.FieldLogger
}
Click to show internal directories.
Click to hide internal directories.