BedeGaming / sinks-rollingfile

A serilog sink for rolling files based on size and time
Apache License 2.0
15 stars 20 forks source link

Template for log file name #29

Closed vadimkhm closed 7 years ago

vadimkhm commented 7 years ago

Hi, Is it possible to have file name template? or prefix template, for example it will be great to have something like this: {Level}-{Date}-{Counter}, or only prefix {Level}-...., {Some Text}-

Thanks and best, Vadim

pradeepneo commented 7 years ago

@AndyWardle I have created pull request very similar to the request in this issue. We can pass a prefix to be appended to the current log file format https://github.com/BedeGaming/sinks-rollingfile/pull/33. Request you to review the same.

vadimkhm commented 7 years ago

Solved by #33