log

package
v0.5.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	None   = "0"
	Red    = "31"
	Green  = "32"
	Yellow = "33"
	Blue   = "34"
)

ANSI colors: https://gist.github.com/JBlond/2fea43a3049b38287e5e9cefc87b2124

View Source
var Verbose = false

Functions

func Debug

func Debug(msg string)

Debug logs with tag debug

func Error

func Error(msg string)

Error logs with tag error and in red

func Info

func Info(msg string)

Info logs with tag info and in blue

func Warn

func Warn(msg string)

Warn logs with tag warn and in yellow

Types

This section is empty.

Jump to

Keyboard shortcuts

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