共用方式為


ILoggerFactory.AddProvider(ILoggerProvider) Method

Definition

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

Applies to