manigandham/serilog-sinks-googlecloudlogging

Can i target specific sinks?

martea opened this issue · 1 comments

This is more of a question if one is able to target specific sinks to be able to handle retention time for specific logs?

Yes, see the Serilog docs: https://github.com/serilog/serilog/wiki/Configuration-Basics

You can attach multiple sinks and set minimum log levels for each one. Anything more advanced might need a custom sink.