golem

package module
v0.0.0-...-1598fed Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2014 License: GPL-3.0 Imports: 3 Imported by: 1

README

golem

Simple colored logging for Go

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	INFO = log.New(os.Stdout, i+"[INFO]"+r+" ", 0)
	WARN = log.New(os.Stdout, w+"[WARN]"+r+" ", 0)
	VERB = log.New(os.Stdout, v+"[VERB]"+r+" ", 0)
)

Functions

func Info

func Info(i interface{})

Print info statements

func Infof

func Infof(s string, i interface{})

Printf info statements

func Verb

func Verb(i interface{})

Print verbose statements if debug is true

func Verbf

func Verbf(s string, i interface{})

Printf verbose statements if debug is true

func Warn

func Warn(i interface{})

Print warning statements

func Warnf

func Warnf(s string, i interface{})

Printf warning statements

Types

This section is empty.

Jump to

Keyboard shortcuts

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