fm.Extensions.Logging.TestContext
1.2.0
See the version list below for details.
dotnet add package fm.Extensions.Logging.TestContext --version 1.2.0
NuGet\Install-Package fm.Extensions.Logging.TestContext -Version 1.2.0
<PackageReference Include="fm.Extensions.Logging.TestContext" Version="1.2.0" />
<PackageVersion Include="fm.Extensions.Logging.TestContext" Version="1.2.0" />
<PackageReference Include="fm.Extensions.Logging.TestContext" />
paket add fm.Extensions.Logging.TestContext --version 1.2.0
#r "nuget: fm.Extensions.Logging.TestContext, 1.2.0"
#:package fm.Extensions.Logging.TestContext@1.2.0
#addin nuget:?package=fm.Extensions.Logging.TestContext&version=1.2.0
#tool nuget:?package=fm.Extensions.Logging.TestContext&version=1.2.0
MSTest TestContext logger provider implementation for Microsoft.Extensions.Logging. Supports loglevel configuration like Microsoft.Extensions.Logging.Console.
Commonly used Methods:
TestContextLoggerFactoryExtensions.AddTestContext
Commonly used Types:
TestContextLogger
TestContextLoggerSettings
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Microsoft.Extensions.Configuration.Abstractions (>= 1.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 1.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on fm.Extensions.Logging.TestContext:
| Package | Downloads |
|---|---|
|
fm.Extensions.Testing.DependencyInjection
Provides a MSTest base class for tests based on IServiceProvider. Use common Startup.cs patterns like ConfigureServices(...), ConfigureConfiguration(...) and ConfigureLogging(...) to setup your tests. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0 | 307 | 11/13/2025 |
| 10.0.0 | 215 | 10/8/2025 |
| 9.0.0 | 493 | 11/15/2024 |
| 8.0.2 | 2,620 | 9/16/2024 |
| 8.0.1 | 481 | 4/5/2024 |
| 8.0.0 | 5,441 | 3/27/2024 |
| 7.0.0 | 7,058 | 3/4/2023 |
| 6.3.0 | 11,361 | 8/5/2022 |
| 6.2.0 | 38,987 | 11/11/2021 |
| 6.1.0 | 3,216 | 8/11/2021 |
| 6.0.0 | 3,461 | 11/15/2020 |
| 5.2.0 | 2,678 | 1/4/2020 |
| 5.1.0 | 1,852 | 10/23/2019 |
| 5.0.0 | 3,380 | 9/4/2019 |
| 4.0.0 | 22,641 | 10/11/2017 |
| 3.0.0 | 1,934 | 10/9/2017 |
| 2.0.1 | 1,380 | 4/24/2017 |
| 2.0.0 | 1,760 | 2/27/2017 |
| 1.2.0 | 2,404 | 6/29/2016 |
TestContextLogger now prints logger name and event ID when logger is created for non-UnitTest classes.