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 Azure table storage, SQL Server databases, Elasticsearch, and rolling files with several formats and you can extend the block by creating your own custom formatters and sinks. For the sinks that can store structured data, the block preserves the full structure of the event payload in order to facilitate analysing or processing the logged data.
An out-of-proc Windows Service is available as a separate NuGet package (EnterpriseLibrary.SemanticLogging.Service).
See the version list below for details.
Install-Package EnterpriseLibrary.SemanticLogging -Version 1.1.1403.1
dotnet add package EnterpriseLibrary.SemanticLogging --version 1.1.1403.1
<PackageReference Include="EnterpriseLibrary.SemanticLogging" Version="1.1.1403.1" />
paket add EnterpriseLibrary.SemanticLogging --version 1.1.1403.1
- Newtonsoft.Json (>= 5.0.8)