Skip to content

Micro-framework for logging with the .NET TraceSource API

License

Notifications You must be signed in to change notification settings

sharpjs/Sharp.Diagnostics.Logging

Repository files navigation

Sharp.Diagnostics.Logging

Micro-framework to improve the ergonomics of logging with the .NET TraceSource API.

Status

Build NuGet NuGet

  • Stable: Used in production for years with no reported bugs.
  • Tested: 100% coverage by automated tests.
  • Legacy: No further development except for occasional maintenance.
  • Documented: IntelliSense on everything.

The replacement for the legacy TraceSource API is Microsoft.Extensions.Logging.

Installation

A NuGet package is available.

Documentation

Documented via IntelliSense. No external documentation.

Building From Source

Requirements:

  • Visual Studio 2022 or later (if using Visual Studio).
  • Appropriate .NET SDKs — see the target framework(s) specified in each .csproj file.
# The default: build and run tests
.\Make.ps1 [-Test] [-Configuration <String>]

# Just build; don't run tests
.\Make.ps1 -Build [-Configuration <String>]

# Build and run tests w/coverage
.\Make.ps1 -Coverage [-Configuration <String>]