logger

package
v0.0.0-...-dfc6acd Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var (
	Level              = 2
	Color              = true
	Fabulous           = false
	FabulousWriter     = lol.NewLolWriter()
	FabulousTrueWriter = lol.NewTruecolorLolWriter()
	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 Success

func Success(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