Simple and minimal command line logger in go
$ go get github.com/yashprit/go-cli-colorise-logger
clog.Info("Hello %s %d", "hi", 1)
clog.IsDebug = true
clog.Debug("This is debug %f", 1.0)
clog.Warn("This will work, but please check %s", "not a register user")
clog.Error("%s", errors.New("Something wents wrong"))
Follow godoc.org for details docs
debug method of clog, argument is optional if you have nou used any placeholder
info method of clog, argument is optional if you have nou used any placeholder
warn method of clog, argument is optional if you have nou used any placeholder
error method of clog, argument is optional if you have nou used any placeholder
For bugs and feature requests, please create an issue.