Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.28 KB

File metadata and controls

17 lines (13 loc) · 1.28 KB

NetEvolve.Logging.XUnit

NuGet License

A powerful logging implementation for xUnit.net that enables you to capture, inspect, and assert on log messages generated during test execution. Perfect for debugging tests, verifying logging behavior, and building testable applications with comprehensive logging coverage.

Features

  • Full Microsoft.Extensions.Logging integration - Works seamlessly with the standard .NET logging infrastructure
  • Message inspection and assertions - Access all logged messages for verification in your tests
  • Multiple creation patterns - Direct instantiation or dependency injection via ILoggingBuilder
  • Configurable output - Control timestamps, log levels, scopes, and additional information
  • Scope support - Captures and displays logging scopes for better context
  • TimeProvider support - Testable time-based logging scenarios
  • xUnit v3 compatibility - Works with both ITestOutputHelper and IMessageSink
  • Generic logger support - Strongly-typed loggers with XUnitLogger<T>