Auf Englisch lesen

Teilen über


FakeLoggerBuilderExtensions Class

Definition

Extensions for configuring fake logging, used in unit tests.

C#
public static class FakeLoggerBuilderExtensions
Inheritance
FakeLoggerBuilderExtensions

Methods

AddFakeLogging(ILoggingBuilder, Action<FakeLogCollectorOptions>)

Configures fake logging.

AddFakeLogging(ILoggingBuilder, IConfigurationSection)

Configures fake logging.

AddFakeLogging(ILoggingBuilder)

Configures fake logging with default options.

Applies to

Produkt Versionen
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)