© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
2 replies
Johannes M

❔ Serilog Extend LogLevels or Intercept Logs

I am using Serilog and I have a specific use case right. I got three sinks (Console, File, SQLServer) and for each I am filtering based on loglevel.
Is there a way in which I can have an interceptor of sorts that when I log a level of Information but with a specific identifier it logs to a different sink and if it doesn't then log to the default sink configured
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Serilog Logs Scrambled from Multithreading
C#CC# / help
3y ago
❔ Serilog
C#CC# / help
4y ago
✅ Serilog does not write logs to file
C#CC# / help
3y ago
✅ Serilog Confusion
C#CC# / help
11mo ago