Compartir a través de


EventSourceLoggerFactoryExtensions.AddEventSourceLogger Método

Definición

Agrega un registrador de eventos denominado "EventSource" al generador.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddEventSourceLogger(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddEventSourceLogger (this Microsoft.Extensions.Logging.ILoggingBuilder builder);
static member AddEventSourceLogger : Microsoft.Extensions.Logging.ILoggingBuilder -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddEventSourceLogger (builder As ILoggingBuilder) As ILoggingBuilder

Parámetros

builder
ILoggingBuilder

El argumento del método de extensión.

Devoluciones

La interfaz ILoggingBuilder para que se puedan encadenar llamadas adicionales.

Se aplica a