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, file, console and rolling files with several formats and you can extend the block by creating your own custom formatters and sinks. The console sink is part of this nuget package. Other Sinks mentioned above are available as separate nuget packages. 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).
Install-Package EnterpriseLibrary.SemanticLogging -Version 2.0.1406.1
dotnet add package EnterpriseLibrary.SemanticLogging --version 2.0.1406.1
<PackageReference Include="EnterpriseLibrary.SemanticLogging" Version="2.0.1406.1" />
paket add EnterpriseLibrary.SemanticLogging --version 2.0.1406.1
- Newtonsoft.Json (>= 5.0.8)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on EnterpriseLibrary.SemanticLogging:
The Semantic Logging Application Block provides a set of destinations to persist events published by a subclass of EventSource, This add-on packages adds support to persisting log entries in Azure table storage.
The Semantic Logging Application Block provides a set of destinations to persist events published by a subclass of EventSource, This add-on packages adds support to persisting log entries in SQL Server and Azure SQL Database.
GitHub repositories (6)
Showing the top 5 popular GitHub repositories that depend on EnterpriseLibrary.SemanticLogging:
Durable Task Framework allows users to write long running persistent workflows in C# using the async/await capabilities.
Supporting semantic/structured logging for .NET
Azure IoT protocol gateway enables protocol translation for Azure IoT Hub
Firely's open source FHIR server
Performance Monitoring and instrumentation for .NET (4.52+ and Core)