Sdílet prostřednictvím


LoggerFactory.Create(Action<ILoggingBuilder>) Metoda

Definice

Vytvoří novou instanci ILoggerFactory nakonfigurované pomocí zadaného configure delegáta.

public:
 static Microsoft::Extensions::Logging::ILoggerFactory ^ Create(Action<Microsoft::Extensions::Logging::ILoggingBuilder ^> ^ configure);
public static Microsoft.Extensions.Logging.ILoggerFactory Create (Action<Microsoft.Extensions.Logging.ILoggingBuilder> configure);
static member Create : Action<Microsoft.Extensions.Logging.ILoggingBuilder> -> Microsoft.Extensions.Logging.ILoggerFactory
Public Shared Function Create (configure As Action(Of ILoggingBuilder)) As ILoggerFactory

Parametry

configure
Action<ILoggingBuilder>

Delegát pro konfiguraci ILoggingBuilder.

Návraty

ILoggerFactory

Vytvořili ILoggerFactory jsme ho.

Platí pro