Open sanzor opened 4 years ago
I suggest you ask this on StackOverflow to increase the chance of a correct answer 😊 I would think just setting up separate logger instance.
On a style note I would suggest abstracting out what goes where. https://www.erikheemskerk.nl/meaningful-logging-and-metrics/
Hello i have a
ASP NET Core
application where i am already usingSerilog
for logging toConsole
and also to aFile
.I will also need to write some special logs to a
Redis
channel. My question would be how can one choose which logs to write to a particular sink , in this case the Redis sink.