log

package
v0.0.0-...-b83a8b2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBUG

func DBUG(f string, i ...interface{})

func DERROR

func DERROR(f string, i ...interface{})

func DFATAL

func DFATAL(f string, i ...interface{})

func DINFO

func DINFO(f string, i ...interface{})

func DPANIC

func DPANIC(f string, i ...interface{})

func DWARN

func DWARN(f string, i ...interface{})

func Dbug

func Dbug(i ...interface{})

func Derror

func Derror(i ...interface{})

func Dfatal

func Dfatal(i ...interface{})

func Dinfo

func Dinfo(i ...interface{})

func Dpanic

func Dpanic(i ...interface{})

func Dwarn

func Dwarn(i ...interface{})

func SetJsonFormat

func SetJsonFormat()

func SetLevel

func SetLevel(level Level)

func SetOutput

func SetOutput(file *os.File)

func SetReportCaller

func SetReportCaller()

Types

type Level

type Level int
const (
	DEBUG Level = iota
	INFO
	WARN
	ERROR
	FATAL
	PANIC
)

Jump to

Keyboard shortcuts

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