Skip to content

dailydevops/logging.xunit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 5