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

305 ts default options #309

Closed nullromo closed 3 years ago

nullromo commented 3 years ago

New solution using custom NAND type. This has the following result: Capture d is an error because it provides both a filename and a stream. Meanwhile, a, aa, b, and c are all valid DailyRotateFileTransportOptions objects.

nullromo commented 3 years ago

Ack, sorry, there is a conflict. This is only the second pull request I have ever submitted on GitHub (#308 was the first) so I'm still learning how it works. Let me see if I can rectify this issue.

nullromo commented 3 years ago

That seems to have done it.