stdlogr

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LimitToLoggers added in v0.2.0

func LimitToLoggers(names ...string)

func New

func New(name string) logr.Logger

func SetVerbosity added in v0.2.0

func SetVerbosity(v int)

Types

type StdInfoLogr

type StdInfoLogr struct {
	// contains filtered or unexported fields
}

func (StdInfoLogr) Enabled

func (this StdInfoLogr) Enabled() bool

func (StdInfoLogr) Info

func (this StdInfoLogr) Info(msg string, kvs ...interface{})

type StdLogr

type StdLogr struct {
	StdInfoLogr
}

func (StdLogr) Error

func (this StdLogr) Error(err error, msg string, kvs ...interface{})

func (StdLogr) V

func (this StdLogr) V(level int) logr.InfoLogger

func (StdLogr) WithName

func (this StdLogr) WithName(name string) logr.Logger

func (StdLogr) WithValues

func (this StdLogr) WithValues(kvs ...interface{}) logr.Logger

Jump to

Keyboard shortcuts

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