logger

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Debug level
	Debug *log.Logger
	// Info level
	Info *log.Logger
	// Warning level
	Warning *log.Logger
	// Error level
	Error *log.Logger
)

Functions

func Configure added in v1.1.0

func Configure(level, output string) error

Configure logger

func Gray added in v1.4.0

func Gray(text string) string

Gray ANSI color applied to a string

func Green added in v1.4.0

func Green(text string) string

Green ANSI color applied to a string

func Orange added in v1.4.0

func Orange(text string) string

Orange ANSI color applied to a string

func Red added in v1.4.0

func Red(text string) string

Red ANSI color applied to a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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