logger

package
v0.0.0-...-2db79e0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AlwaysLabel   = "✿"
	CriticalLabel = "✖"
	DebugLabel    = "▶"
	InfoLabel     = "✔"
	WarningLabel  = "!"
)

Variables

View Source
var (
	Level          = 2
	Color          = true
	Fabulous       = false
	FabulousWriter = &lol.Writer{Output: os.Stdout, ColorMode: lol.ColorMode256}
	TestMode       = false
)

Functions

func Always

func Always(format string, a ...interface{})

func Critical

func Critical(format string, a ...interface{})

func Debug

func Debug(format string, a ...interface{})

func Info

func Info(format string, a ...interface{})

func Log

func Log(format string, a ...interface{})

func Warning

func Warning(format string, a ...interface{})

Types

type Logger

type Logger func(format string, a ...interface{})

Jump to

Keyboard shortcuts

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