Skip to content

guillaumewuip/console.go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

console.go godoc reference

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 and Error logging method
  • Tag, Time, File optional method
  • hook

See Godoc : http://godoc.org/github.com/guillaumewuip/console.go

Related :

About

A lightweight logger for Go inspired by the NodeJS console

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages