Udostępnij za pośrednictwem


IWebHostBuilder.ConfigureLogging(Action<ILoggerFactory>) Metoda

Definicja

Dodaje delegata do konfigurowania podanego ILoggerFactoryelementu . Może to być wywoływane wiele razy.

public:
 Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ ConfigureLogging(Action<Microsoft::Extensions::Logging::ILoggerFactory ^> ^ configureLogging);
public Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureLogging (Action<Microsoft.Extensions.Logging.ILoggerFactory> configureLogging);
abstract member ConfigureLogging : Action<Microsoft.Extensions.Logging.ILoggerFactory> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Function ConfigureLogging (configureLogging As Action(Of ILoggerFactory)) As IWebHostBuilder

Parametry

configureLogging
Action<ILoggerFactory>

Delegat, który konfiguruje element ILoggerFactory.

Zwraca

Element IWebHostBuilder.

Dotyczy