Its a logger
Find a file
xantios beb0392b75 Update README.md
Add steps to publish new versions
2026-08-10 13:44:30 +00:00
go.mod go.mod bijwerken 2026-08-10 13:26:10 +00:00
LICENSE Add License 2024-08-05 22:18:10 +02:00
logger.go Add minimal severity 2025-06-16 15:58:15 +02:00
logger_test.go Add minimal severity 2025-06-16 15:58:15 +02:00
README.md Update README.md 2026-08-10 13:44:30 +00:00

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.