logger

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugF

func DebugF(format string, args ...interface{})

func ErrorF

func ErrorF(format string, args ...interface{})

func FatalF

func FatalF(format string, args ...interface{})

func InfoF

func InfoF(format string, args ...interface{})

func PanicF

func PanicF(format string, args ...interface{})

func SetLevel

func SetLevel(lv string)

func SetLogger

func SetLogger(l WkLogger)

func WarnF

func WarnF(format string, args ...interface{})

Types

type WkLogger

type WkLogger interface {
	SetLevel(lv string)
	DebugF(formate string, args ...interface{})
	InfoF(formate string, args ...interface{})
	WarnF(formate string, args ...interface{})
	ErrorF(formate string, args ...interface{})
	PanicF(formate string, args ...interface{})
	FatalF(formate string, args ...interface{})
}

Jump to

Keyboard shortcuts

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