Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

How to use EventSource to log to remote SQL Server database?

$
0
0

Hello,

My library has a dependency on Semantic Logging Library (SLAB) because it uses SQL Server Sink to write events from my custom EventSource to a remote SQL Server database. The users of my library hate SLAB so now I have to downgrade logging to stop using SLAB libraries. I am not very familiar with logging in .NET framework and can't find any resources on how to write log entries to remote SQL server given its connection string without using SLAB. Everything I find through search uses SLAB.

Is it possible to keep using my existing EventSource class and log to remote SQL Server just as I have done before, but without Semantic Logging? Please link to any examples.

Thank you!


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>