Essential.Diagnostics.Structured NuGet Package

Provides a templated interface and implementation that makes tracing structured data easy via System.Diagnostics, using a fluent interface.

Information is traced as StructuredData, with a message template, template values, and additional properties.

Structured trace information is forwarded to an underlying TraceSource, which then sends to any configured TraceListeners, e.q. a Seq server.

The interface can be used for easy integration with a dependency injection framework.

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 structured data (semantic) tracing extensions and 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 GitHub for examples and documentation.




Got any Essential.Diagnostics.Structured Question?





Info

Version: 2.2.0
Author(s): sgryphon
Last Update: Monday, September 18, 2017
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/sgryphon/essential-diagnostics
NuGet Url: https://www.nuget.org/packages/Essential.Diagnostics.Structured


Install
Install-Package Essential.Diagnostics.Structured
dotnet add package Essential.Diagnostics.Structured
paket add Essential.Diagnostics.Structured
Essential.Diagnostics.Structured Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

.8

avg-downloads-per-day

3

days-since-last-release

2414