Freigeben über


FakeLoggerExtensions Class

Definition

Extensions for configuring fake logging, used in unit tests.

public ref class FakeLoggerExtensions abstract sealed
public static class FakeLoggerExtensions
type FakeLoggerExtensions = class
Public Module FakeLoggerExtensions
Inheritance
FakeLoggerExtensions

Methods

AddFakeLogging(ILoggingBuilder, Action<FakeLogCollectorOptions>)

Configure fake logging.

AddFakeLogging(ILoggingBuilder, IConfigurationSection)

Configure fake logging.

AddFakeLogging(ILoggingBuilder)

Configure fake logging with default options.

AddFakeLogging(IServiceCollection, Action<FakeLogCollectorOptions>)

Configure fake logging.

AddFakeLogging(IServiceCollection, IConfigurationSection)

Configure fake logging.

AddFakeLogging(IServiceCollection)

Configure fake logging with default options.

GetFakeLogCollector(IServiceProvider)

Gets the object that collects log records sent to the fake logger.

Applies to