次の方法で共有


IWebHostBuilder.UseLoggerFactory(ILoggerFactory) メソッド

定義

ILoggerFactory 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

パラメーター

loggerFactory
ILoggerFactory

使用する ILoggerFactory

戻り値

IWebHostBuilder

適用対象