BedeGaming / sinks-rollingfile

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

Add callback to hourly roller #19

Open gaffo opened 8 years ago

gaffo commented 8 years ago

It'd be great if I could have a callback when the log rolls.

gaffo commented 8 years ago

Eg so like I could upload it to the nets

ti24horas commented 7 years ago

Isn't easier to run a scheduled task hourly? Don't think the logger should expose such feature.

gaffo commented 7 years ago

it's an encapsulation/composition vs exposing hooks argument. configured rolling period loggers are very standard in lots of places and it's really just a logging concern.