Info
Version: | 2.0.206 |
Author(s): | sgryphon |
Last Update: | Monday, February 6, 2017 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://essentialdiagnostics.codeplex.com/ |
NuGet Url: | https://www.nuget.org/packages/Essential.Diagnostics.InMemoryTraceListener |
Install
Install-Package Essential.Diagnostics.InMemoryTraceListener
dotnet add package Essential.Diagnostics.InMemoryTraceListener
paket add Essential.Diagnostics.InMemoryTraceListener
Essential.Diagnostics.InMemoryTraceListener Download (Unzip the "nupkg" after downloading)
Dependencies
- Essential.Diagnostics.Core(>= 2.0.206)
Tags
This listener is useful for unit testing that logging has occurred.
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.