log

package
v0.0.0-...-b15899e Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WHITE  = "\x1b[1;37m"
	RED    = "\x1b[1;31m"
	GREEN  = "\x1b[1;32m"
	YELLOW = "\x1b[1;33m"
	END    = "\x1b[0m"
	OK     = GREEN + "OK" + END
	FAIL   = RED + "Fail" + END
)

Variables

View Source
var DEBUG bool = true

Functions

func Dbg

func Dbg(v ...interface{})

Output debug message

func Err

func Err(v ...interface{})

Output error message

func Fatal

func Fatal(v ...interface{})

func Msg

func Msg(v ...interface{})

Output message

Types

This section is empty.

Jump to

Keyboard shortcuts

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