logrus2logr

package
v0.0.0-...-3aa7b29 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

View Source
const (
	LevelDebug = 1
	LevelTrace = 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Logrus2Logr

type Logrus2Logr struct {
	Logger logrus.FieldLogger
	// contains filtered or unexported fields
}

func (*Logrus2Logr) Enabled

func (l *Logrus2Logr) Enabled(_ int) bool

func (*Logrus2Logr) Error

func (l *Logrus2Logr) Error(err error, msg string, keysAndValues ...interface{})

func (*Logrus2Logr) Info

func (l *Logrus2Logr) Info(level int, msg string, keysAndValues ...interface{})

func (*Logrus2Logr) Init

func (l *Logrus2Logr) Init(_ logr.RuntimeInfo)

func (*Logrus2Logr) WithName

func (l *Logrus2Logr) WithName(name string) logr.LogSink

func (*Logrus2Logr) WithValues

func (l *Logrus2Logr) WithValues(keysAndValues ...interface{}) logr.LogSink

Jump to

Keyboard shortcuts

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