Aracılığıyla paylaş


IWebHostBuilder.UseLoggerFactory(ILoggerFactory) Yöntem

Tanım

ILoggerFactory Web konağı tarafından kullanılacak öğesini belirtin.

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

Parametreler

loggerFactory
ILoggerFactory

ILoggerFactory kullanılacak.

Döndürülenler

IWebHostBuilder.

Şunlara uygulanır