go-log
Log lib supports level and multi handlers
About go-log
go-log
a golang log lib supports level and multi handlers
Use
import "github.com/siddontang/go-log/log"
//log with different level
log.Info("hello world")
log.Error("hello world")
//create a logger with specified handler
h := NewStreamHandler(os.Stdout)
l := log.NewDefault(h)
l.Info("hello world")
go-doc
Frequently Asked Questions
What is go-log?
go-log is a Logging library for the Go programming language. Log lib supports level and multi handlers
How do I install go-log?
Install go-log with the Go module system using `go get siddontang/go-log`. Check the repository for the current installation instructions.
What category does go-log belong to?
go-log is listed under Logging, specifically Logging.
