Another logger for Go.
go get github.com/yulefox/log
package main
import "github.com/yulefox/log"
func main() {
log.Info("Here is a simple example.")
log.Debug("This is a debug message.")
log.Info("Hello, %s!", "world")
log.Error("This is an error with caller stack.")
log.Panic("This is a panic with caller stack.")
//log.Fatal("This should not be logged.")
//log.Info("This should not be logged.")
}
MIT