Closed cgrinds closed 2 years ago
The comment for FileWriter mentions MaxAge but that field does not exist.
FileWriter
MaxAge
Any files with an encoded timestamp older than MaxAge days are deleted, regardless of MaxBackups
MaxAge would be nice to have if this library is meant to be a drop-in replacement for Lumberjack.
Oh, I removed the comments now. I think "MaxAge" is a wrong design for log libs, I recommend that way https://github.com/phuslu/log#rotating-file-writer
The comment for
FileWriter
mentionsMaxAge
but that field does not exist.MaxAge
would be nice to have if this library is meant to be a drop-in replacement for Lumberjack.