LoggerFactory.Create(Action<ILoggingBuilder>) Método

Definição

Cria uma nova instância configurada ILoggerFactory usando o delegado fornecido configure .

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

Parâmetros

configure
Action<ILoggingBuilder>

Um delegado para configurar o ILoggingBuilder.

Retornos

ILoggerFactory

O ILoggerFactory criado.

Aplica-se a