FakeLoggerExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.