IWebHostBuilder.UseLoggerFactory(ILoggerFactory) IWebHostBuilder.UseLoggerFactory(ILoggerFactory) IWebHostBuilder.UseLoggerFactory(ILoggerFactory) Method

Definition

Specify the ILoggerFactory to be used by the web host.

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

Parameters

Returns

Applies to