manigandham / serilog-sinks-googlecloudlogging

Serilog sink that writes events to Google Cloud Logging
MIT License
41 stars 25 forks source link

Can i target specific sinks? #45

Closed martea closed 3 years ago

martea commented 3 years ago

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

manigandham commented 3 years ago

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.