IWebHostBuilder.UseLoggerFactory(ILoggerFactory) Método

Definição

Especifique o ILoggerFactory a ser usado pelo host da 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

O ILoggerFactory a ser usado.

Retornos

O IWebHostBuilder.

Aplica-se a