logr is a simplistic type which implements log rotating, suitable for use with Go's log package.
Use it like this.
w := logr.NewWriter("/var/log/mylog.log")
log.SetOutput(w)
log.Println("foobar")- Custom time suffix formats
| Name | Name | Last commit date | ||
|---|---|---|---|---|