glog

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

klogr replaces glog. Use go module to replace glog by klog.

Documentation

Overview

Package glog is used to replace glog by klog.

Index

Constants

This section is empty.

Variables

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

Symbols to replace

Functions

This section is empty.

Types

type Level

type Level = klog.Level

Level log level

type Verbose

type Verbose bool

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

func V

func V(level klog.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

Directories

Path Synopsis
v1r module

Jump to

Keyboard shortcuts

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