次の方法で共有


EventSourceLoggerFactoryExtensions.AddEventSourceLogger メソッド

定義

'EventSource' という名前のイベント ロガーをファクトリに追加します。

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

パラメーター

builder
ILoggingBuilder

拡張メソッドの引数。

戻り値

追加の呼び出しをチェーンできるようにする ILoggingBuilder

適用対象