Condividi tramite


IWebHostBuilder.ConfigureLogging(Action<ILoggerFactory>) Metodo

Definizione

Aggiunge un delegato per la configurazione dell'oggetto ILoggerFactory fornito. Può essere chiamato più volte.

public:
 Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ ConfigureLogging(Action<Microsoft::Extensions::Logging::ILoggerFactory ^> ^ configureLogging);
public Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureLogging (Action<Microsoft.Extensions.Logging.ILoggerFactory> configureLogging);
abstract member ConfigureLogging : Action<Microsoft.Extensions.Logging.ILoggerFactory> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Function ConfigureLogging (configureLogging As Action(Of ILoggerFactory)) As IWebHostBuilder

Parametri

configureLogging
Action<ILoggerFactory>

Delegato che configura ILoggerFactory.

Restituisce

Oggetto IWebHostBuilder.

Si applica a