log

package
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadgerLogrusAdapter

type BadgerLogrusAdapter struct {
	*logrus.Entry // Embed logrus Entry
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL