logger

package
v0.0.0-...-01fb254 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderColor  = "\u001b[45;1m"
	InfoColor    = "\033[1;34m"
	WarningColor = "\033[1;33m"
	ErrorColor   = "\033[1;31m"
	DebugColor   = "\033[0;36m"
	ResetColor   = "\033[0m"
)
View Source
const (
	VERBOSE_WARNING = iota
	VERBOSE_INFO
	VERBOSE_DEBUG
)

Variables

This section is empty.

Functions

func Danger

func Danger(msg string)

func Debug

func Debug(msg string)

func Error

func Error(msg string)

func Fatal

func Fatal(msg string)
func Header(title string)

func Info

func Info(msg string)

func SetVerboseLevel

func SetVerboseLevel(level string)

func Warning

func Warning(msg string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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