go get "github.com/Komly/logga"
logga := logga.NewLogger(
logga.WithLevel(logga.Error),
logga.WithMessageTemplate("{{.Level}} - {{.Time}} - {{.Message}}\n"),
)
logga.Debugf("Debug message: %d", 1)
logga.Infof("Info message: %d", 2)
logga.Warningf("Warning message: %d", 3)
logga.Errorf("Error message: %d", 4)
logga.Fatalf("Fatal message: %d", 5)