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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.