Class CustomLoggerProvider
Represents a custom logger provider that creates instances of CustomLogger.
public class CustomLoggerProvider : ILoggerProvider, IDisposable
- Inheritance
-
CustomLoggerProvider
- Implements
Constructors
- CustomLoggerProvider()
Initializes a new instance of the CustomLoggerProvider class.
Methods
- CreateLogger(string)
Creates a new instance of CustomLogger with the specified category name.
- Dispose()
Disposes all loggers created by the provider.
- SetEnabled(bool)
Sets the enabled state of the logger.