Skip to main content
.NETStandard2.0

An implementation of ILog that writes events to NUnit.

Published
Aug 17, 2022
4y ago
Total Downloads
272.4K
272,368

Install

dotnet add package Vostok.Logging.NUnit --version 1.0.1-pre000018
ProductVersions
.NET Standard
netstandard2.0

README

Vostok.Logging.NUnit

Build & Test & Publish NuGet

An implementation of ILog that writes log events to NUnit.

Build guide: https://github.com/vostok/devtools/blob/master/library-dev-conventions/how-to-build-a-library.md

User documentation: https://vostok.gitbook.io/logging/

ILog adapter of NUnit log.

Logs can be written to:

  1. The context of the test, which is currently running. It is suitable for most of the tests. (NUnitLogSettings.WithAsyncLocalContext())

  2. The context of the test, in which the log was created. It is suitable for local services and other places where AsyncLocal context can be lost or absent. (NUnitLogSettings.WithCurrentTestContext())

Changes from Previous Version

No structural changes between v1.0.0 and v1.0.1-pre000018.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.