Skip to content

guillaumewuip/console.go

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

No packages published

Languages