Forked from lestrrat-go/file-rotatelogs 加了一个返回前一个日志文件名的功能 go get github.com/jc633/rotatelogs@latest //example rl := &rotatelogs.RotateLogs{} rl.PreviousFileName()