klog

package module
v0.0.0-...-432d548 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

replace klog to klog/v2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// only provdes by klogv2
	InitFlags    = klogv2.InitFlags
	Flush        = klogv2.Flush
	Info         = klogv2.Info
	InfoDepth    = klogv2.InfoDepth
	Infoln       = klogv2.Infoln
	Infof        = klogv2.Infof
	Warning      = klogv2.Warning
	WarningDepth = klogv2.WarningDepth
	Warningln    = klogv2.Warningln
	Warningf     = klogv2.Warningf
	Error        = klogv2.Error
	ErrorDepth   = klogv2.ErrorDepth
	Errorln      = klogv2.Errorln
	Errorf       = klogv2.Errorf
	Fatal        = klogv2.Fatal
	FatalDepth   = klogv2.FatalDepth
	Fatalln      = klogv2.Fatalln
	Fatalf       = klogv2.Fatalf
	Exit         = klogv2.Exit
	ExitDepth    = klogv2.ExitDepth
	Exitln       = klogv2.Exitln
	Exitf        = klogv2.Exitf
)

Symbols to replace

Functions

This section is empty.

Types

type Level

type Level = klogv2.Level

Level log level

type Verbose

type Verbose bool

Verbose adapter klogv2 `Verbose struct` to klog `Verbose bool`, without the klogv2 filter function.

func V

func V(level klogv2.Level) Verbose

V returns a verbose

func (Verbose) Info

func (v Verbose) Info(args ...interface{})

Info writes args

func (Verbose) Infof

func (v Verbose) Infof(format string, args ...interface{})

Infof writes args

func (Verbose) Infoln

func (v Verbose) Infoln(args ...interface{})

Infoln writes args

Jump to

Keyboard shortcuts

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