log

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LvlError is log level error
	LvlError = iota
	// LvlWarn is log level warn
	LvlWarn
	// LvlInfo is log level info
	LvlInfo
	// LvlDebug is log level debug
	LvlDebug
	// LvlTrace is log level trace
	LvlTrace
)

Variables

This section is empty.

Functions

func Debug added in v0.1.0

func Debug(v ...interface{})

Debug log is blue

func Error

func Error(v ...interface{})

Error log in red

func Info

func Info(v ...interface{})

Info log in default color

func Trace

func Trace(v ...interface{})

Trace log in green

func Warn added in v0.1.0

func Warn(v ...interface{})

Warn log is yellow

Types

This section is empty.

Jump to

Keyboard shortcuts

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