Compartir a través de


IWebHostBuilder.UseLoggerFactory(ILoggerFactory) Método

Definición

Especifique el que ILoggerFactory va a usar el host web.

public:
 Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseLoggerFactory(Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLoggerFactory (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
abstract member UseLoggerFactory : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Function UseLoggerFactory (loggerFactory As ILoggerFactory) As IWebHostBuilder

Parámetros

loggerFactory
ILoggerFactory

ILoggerFactory que se va a utilizar.

Devoluciones

IWebHostBuilder.

Se aplica a