natefinch / lumberjack

lumberjack is a log rolling package for Go
MIT License
4.72k stars 580 forks source link

Any way to get the rotated file name? #184

Open dtcuniguai opened 1 year ago

dtcuniguai commented 1 year ago

Is there any way to get the rotated file name?

dtcuniguai commented 1 year ago

I've try to get the file name with time.Now().Format("2006-01-02T15-04:05.000") But there seems to be some slight difference.