Xunit.DependencyInjection.Logging 2.1.0

Support Microsoft.Extensions.Logging to ITestOutputHelper.
protected override void Configure(IServiceProvider provider)
{{
   provider.GetRequiredService<ILoggerFactory>()
       .AddProvider(new XunitTestOutputLoggerProvider(provider.GetRequiredService<ITestOutputHelperAccessor>()));
}}

Install-Package Xunit.DependencyInjection.Logging -Version 2.1.0
dotnet add package Xunit.DependencyInjection.Logging --version 2.1.0
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xunit.DependencyInjection.Logging --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Xunit.DependencyInjection.Logging, 2.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xunit.DependencyInjection.Logging as a Cake Addin
#addin nuget:?package=Xunit.DependencyInjection.Logging&version=2.1.0

// Install Xunit.DependencyInjection.Logging as a Cake Tool
#tool nuget:?package=Xunit.DependencyInjection.Logging&version=2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Xunit.DependencyInjection.Logging:

Package Downloads
Stl.Testing
Stl.Testing is a collection of testing helpers used by Stl.Fusion tests.
EncompassApi.xUnit
A xUnit library

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Xunit.DependencyInjection.Logging:

Repository Stars
servicetitan/Stl.Fusion
Fusion implements DREAM - Distributed Reactive Memoization. Add real-time features to your apps (incl. Blazor) without a need for SignalR, WebSockets, or even events! Get 10-1000x faster API responses with a transparent and nearly 100% consistent cache. Get all of this with almost no extra code! A DREAM? See our samples.

Version History

Version Downloads Last updated
2.1.0 98,265 6/15/2019