The Semantic Logging Application Block provides a set of destinations (sinks) to persist application events published using a subclass of the EventSource class from the System.Diagnostics.Tracing namespace. Sinks include Windows Azure table storage, SQL Server databases, and rolling files with several formats and you can extend the block by creating your own custom formatters and sinks. For the those sinks that can store structured data, the block preserves the full structure of the event payload in order to facilitate analyzing or processing the logged data.
An out-of-proc Windows Service is available as a separate download from https://go.microsoft.com/fwlink/p/?LinkID=290903.
This application block is a part of Microsoft Enterprise Library 6.0.
See the version list below for details.
Install-Package EnterpriseLibrary.SemanticLogging -Version 1.0.1304
dotnet add package EnterpriseLibrary.SemanticLogging --version 1.0.1304
<PackageReference Include="EnterpriseLibrary.SemanticLogging" Version="1.0.1304" />
paket add EnterpriseLibrary.SemanticLogging --version 1.0.1304
- Newtonsoft.Json (>= 4.5.0)