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