stdlogr

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LimitToLoggers

func LimitToLoggers(names ...string)

func New

func New(name string) logr.Logger

func SetVerbosity

func SetVerbosity(v int)

func Verbosity added in v1.1.0

func Verbosity() 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