lumberjack
lumberjack copied to clipboard
smaller sizes increments
it's too bad that the file size rotation limit is in megabytes - that's actually a huge number for embeded platforms. it would be better to rotate on kilobytes or, fundamentally, bytes: one can then use multiples to find the proper value using, e.g. humanize: fmt.Println("10 MB: %d", 10 * humanize.MiByte)
...
i understand this may involve an API change, but maybe there could just be another MaxBytes settings?