Help us shape the future of Go! Take the 2026 Go Developer Survey

logging

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logging

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

func NewLogging

func NewLogging(log logr.Logger) *Logging

func (Logging) Debug

func (l Logging) Debug(msg string, keysAndValues ...interface{})

func (Logging) Error

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

func (Logging) GetLog

func (l Logging) GetLog() logr.Logger

func (Logging) Info

func (l Logging) Info(msg string, keysAndValues ...interface{})

func (Logging) LogAndWrapError

func (l Logging) LogAndWrapError(err error, msg string) error

func (Logging) Warn

func (l Logging) Warn(msg string, keysAndValues ...interface{})

func (Logging) WithLevel

func (l Logging) WithLevel(level int, msg string, keysAndValues ...interface{})

Jump to

Keyboard shortcuts

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