共用方式為


Microsoft.Extensions.Logging.Testing Namespace

Classes

FakeLogCollector

Collects log records sent to the fake logger.

FakeLogCollectorOptions

Options for the fake logger.

FakeLogger

A logger which captures everything logged to it and enables inspection.

FakeLogger<T>

A logger which captures everything logged to it and enables inspection.

FakeLoggerProvider

Provides fake loggers.

FakeLogRecord

A single log record tracked by FakeLogger.