SQL database trace listener extension for System.Diagnostics, along with required config sections. Trace listener that writes to the database connection specified into a table created by the included diagnostics_regsql.exe tool (in the package tools directory).
Other Essential.Diagnostics packages extend the .NET Framework System.Diagnostics trace logging with additional trace listeners. Included are colored console (that allows custom formats), SQL database (including a tool to create tables), rolling file (with custom formats), rolling XML, email (per trace or batched), and an in-memory trace listener.
The Essential.Diagnostics project also publishes a fluent client library that includes easy encapsulation of activity and logical operation scopes, as well as abstractions and templated classes for a simpler logging API and support for dependency injection frameworks.
See the project site on CodePlex for examples and documentation.
Install-Package Essential.Diagnostics.SqlDatabaseTraceListener -Version 2.0.206
dotnet add package Essential.Diagnostics.SqlDatabaseTraceListener --version 2.0.206
<PackageReference Include="Essential.Diagnostics.SqlDatabaseTraceListener" Version="2.0.206" />
paket add Essential.Diagnostics.SqlDatabaseTraceListener --version 2.0.206
Version 2.0: Major re-organisation of project into separate packages for each trace listener. This allows projects to add just the listeners they need.
- Essential.Diagnostics.Core (>= 2.0.206)