console

package
v2.16.0-rc.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Instance = Logger{/* contains filtered or unexported fields */}

Functions

This section is empty.

Types

type Logger

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

Logger is a wrapper around the go default logger that just logs to the console Note, that this type of logger does not provide any special features but just forwards the log messages to the builtin log package of GO. It is not used in production code

func (Logger) Debug

func (l Logger) Debug(msg string, args ...interface{})

func (Logger) Error

func (l Logger) Error(msg string, args ...interface{})

func (Logger) Fatal

func (l Logger) Fatal(msg string, args ...interface{})

func (Logger) GetLogr added in v2.8.0

func (l Logger) GetLogr() logr.Logger

func (Logger) Info

func (l Logger) Info(msg string, args ...interface{})

func (Logger) Level

func (l Logger) Level() loggers.LogLevel

func (Logger) Warn

func (l Logger) Warn(msg string, args ...interface{})

func (Logger) WithFields

func (l Logger) WithFields(fields ...field.Field) loggers.Logger

Jump to

Keyboard shortcuts

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