ILoggerFactory.AddProvider(ILoggerProvider) Method
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.
Adds an ILoggerProvider to the logging system.
public:
void AddProvider(Microsoft::Extensions::Logging::ILoggerProvider ^ provider);
public void AddProvider (Microsoft.Extensions.Logging.ILoggerProvider provider);
abstract member AddProvider : Microsoft.Extensions.Logging.ILoggerProvider -> unit
Public Sub AddProvider (provider As ILoggerProvider)
Parameters
- provider
- ILoggerProvider
The ILoggerProvider.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.