Console is a lightweight logging tool inspired by the NodeJS console object and Scribe.js project.
As a js dev, I was lost in the Go world without my console.log
.
console.Info("Some info")
console.Tag("Hello").Time().File().Log("Hello World")
With use of ansi colors, it output something like this in terminal :
[Hello] [main.go:48] 2015-02-15T09:22:06+01:00 Hello World
Console provided :
Info
,Log
,Warning
andError
logging methodTag
,Time
,File
optional method- hook
See Godoc : http://godoc.org/github.com/guillaumewuip/console.go
Related :