natefinch / lumberjack

lumberjack is a log rolling package for Go
MIT License
4.76k stars 585 forks source link

it can not dynamic change the log directory #141

Open alexqdh opened 2 years ago

alexqdh commented 2 years ago

I want to place the log file into different directories named by date, but the directory now is fixed as the directory of Filename.

/path/20210902/filename.log
/path/20210903/filename.log

Will you consider add a callback to do it