Its a logger
- Go 100%
|
|
||
|---|---|---|
| go.mod | ||
| LICENSE | ||
| logger.go | ||
| logger_test.go | ||
| README.md | ||
Simple Logger
It is a simple logger for Go(lang).
Installation
GOSUMDB=off go get forgejo.sacredheart.it/xantios/simple-logger
Usage
package main
func main() {
logger := new SimpleLogger()
world := "world"
logger.Infof("Hello %s",world)
}
Updating this package
since its hosted on Forgejo but cached by proxy.golang.org this automaticvally works after a while.
You can tag a new release and specify that version to work arround this. running go env -w GOPRIVATE='forgejo.sacredheart.it/*' should work to.