ulog is a simple and efficient level logging library for Go
The ulog
package can be added to a project by running:
go get noxide.lol/go/ulog@latest
log := ulog.New("my/component")
log.E.Fmt("the level is %s", "error")
log.W.Fmt("the level is %s", "warn")
log.I.Fmt("the level is %s", "info")
log.D.Fmt("the level is %s", "debug")
log.T.Fmt("the level is %s", "trace")
The noxide.lol/go/ulog
module is open source under the BSD license.