共用方式為


NullLoggerFactory.AddProvider(ILoggerProvider) Method

Definition

Adds an ILoggerProvider to the logging system.

public:
 virtual void AddProvider(Microsoft::Extensions::Logging::ILoggerProvider ^ provider);
public void AddProvider (Microsoft.Extensions.Logging.ILoggerProvider provider);
abstract member AddProvider : Microsoft.Extensions.Logging.ILoggerProvider -> unit
override this.AddProvider : Microsoft.Extensions.Logging.ILoggerProvider -> unit
Public Sub AddProvider (provider As ILoggerProvider)

Parameters

Implements

Remarks

This method ignores the parameter and does nothing.

Applies to