winstonjs / winston-daily-rotate-file

A transport for winston which logs to a rotating file each day.
MIT License
889 stars 151 forks source link

Please create a few more example codes. #375

Open sunilpoojari opened 1 year ago

sunilpoojari commented 1 year ago

Hello Team,

Can you please create a few more sample codes, transport object examples for different use cases like rotating log files every minute, hour, day, week, month, year etc.

The syntax is not very clear, I am trying to create a transport object which will rotate the log files every 5 mins however it's not working.

It would be great if a few more examples were added to get better understanding.