klog

package
v0.1.35 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct{}

func NewBackend

func NewBackend() Backend

func (Backend) Configure

func (self Backend) Configure(verbosity int, path *string)

func (Backend) GetLogger

func (self Backend) GetLogger(name string) logging.Logger

func (Backend) GetWriter added in v0.1.22

func (self Backend) GetWriter() io.Writer

func (Backend) SetMaxLevel

func (self Backend) SetMaxLevel(name string, level logging.Level)

type Logger

type Logger struct {
	Prefix string
}

func (Logger) Critical

func (self Logger) Critical(message string)

func (Logger) Debug

func (self Logger) Debug(message string)

func (Logger) Error

func (self Logger) Error(message string)

func (Logger) Info

func (self Logger) Info(message string)

func (Logger) Notice

func (self Logger) Notice(message string)

func (Logger) Warning

func (self Logger) Warning(message string)

Jump to

Keyboard shortcuts

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