Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadgerLogrusAdapter ¶
BadgerLogrusAdapter implements badger.Logger interface using logrus
func NewBadgerLogrusAdapter ¶
func NewBadgerLogrusAdapter(entry *logrus.Entry) *BadgerLogrusAdapter
NewBadgerLogrusAdapter creates a new adapter
func (*BadgerLogrusAdapter) Debugf ¶
func (l *BadgerLogrusAdapter) Debugf(f string, v ...interface{})
Debugf logs a debug message
func (*BadgerLogrusAdapter) Errorf ¶
func (l *BadgerLogrusAdapter) Errorf(f string, v ...interface{})
Errorf logs an error message
func (*BadgerLogrusAdapter) Infof ¶
func (l *BadgerLogrusAdapter) Infof(f string, v ...interface{})
Infof logs an info message
func (*BadgerLogrusAdapter) Warningf ¶
func (l *BadgerLogrusAdapter) Warningf(f string, v ...interface{})
Warningf logs a warning message
Click to show internal directories.
Click to hide internal directories.