Micro-framework to improve the ergonomics of logging with the .NET
TraceSource
API.
- 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
.
A NuGet package is available.
Documented via IntelliSense. No external documentation.
Requirements:
- Visual Studio 2022 or later (if using Visual Studio).
- Appropriate .NET SDKs — see the target framework(s) specified in each
.csproj
file.- Download .NET SDKs
- Download .NET Framework Developer Packs
# 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>]