Documentation
¶
Index ¶
- Constants
- type Logrus2Logr
- func (l *Logrus2Logr) Enabled(_ int) bool
- func (l *Logrus2Logr) Error(err error, msg string, keysAndValues ...interface{})
- func (l *Logrus2Logr) Info(level int, msg string, keysAndValues ...interface{})
- func (l *Logrus2Logr) Init(_ logr.RuntimeInfo)
- func (l *Logrus2Logr) WithName(name string) logr.LogSink
- func (l *Logrus2Logr) WithValues(keysAndValues ...interface{}) logr.LogSink
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) WithValues ¶
func (l *Logrus2Logr) WithValues(keysAndValues ...interface{}) logr.LogSink
Click to show internal directories.
Click to hide internal directories.