Compartir a través de


IWebHostBuilder.ConfigureLogging(Action<ILoggerFactory>) Método

Definición

Agrega un delegado para configurar el objeto ILoggerFactory proporcionado. Esto se puede llamar varias veces.

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

Parámetros

configureLogging
Action<ILoggerFactory>

El delegado que configura ILoggerFactory.

Devoluciones

IWebHostBuilder.

Se aplica a