다음을 통해 공유


IWebHostBuilder.UseLoggerFactory(ILoggerFactory) 메서드

정의

웹 호스트에서 ILoggerFactory 사용할 을 지정합니다.

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

매개 변수

loggerFactory
ILoggerFactory

사용할 ILoggerFactory입니다.

반환

IWebHostBuilder

적용 대상