次の方法で共有


EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6> コンストラクター

定義

オーバーロード

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6>(EventId, LogLevel, Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,Exception>)

イベント定義インスタンスを作成します。

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6>(EventId, LogLevel, String, Action<ILogger,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,Exception>)

イベント定義インスタンスを作成します。

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6>(ILoggingOptions, EventId, LogLevel, String, Func<LogLevel,Action<ILogger,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,Exception>>)

イベント定義インスタンスを作成します。

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6>(EventId, LogLevel, Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,Exception>)

イベント定義インスタンスを作成します。

public EventDefinition (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, Action<Microsoft.Extensions.Logging.ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception> logAction);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6> : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * Action<Microsoft.Extensions.Logging.ILogger, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, Exception> -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6>
Public Sub New (eventId As EventId, level As LogLevel, logAction As Action(Of ILogger, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, Exception))

パラメーター

eventId
EventId

EventId

level
LogLevel

LogLevelイベントがログに記録される 。

logAction
Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception>

イベントをログに記録するためのキャッシュされたデリゲート。

適用対象

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6>(EventId, LogLevel, String, Action<ILogger,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,Exception>)

イベント定義インスタンスを作成します。

public EventDefinition (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode, Action<Microsoft.Extensions.Logging.ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception> logAction);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6> : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string * Action<Microsoft.Extensions.Logging.ILogger, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, Exception> -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6>
Public Sub New (eventId As EventId, level As LogLevel, eventIdCode As String, logAction As Action(Of ILogger, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, Exception))

パラメーター

eventId
EventId

EventId

level
LogLevel

LogLevelイベントがログに記録される 。

eventIdCode
String

ConfigureWanings に渡す必要があるコードを表す文字列。

logAction
Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception>

イベントをログに記録するためのキャッシュされたデリゲート。

適用対象

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6>(ILoggingOptions, EventId, LogLevel, String, Func<LogLevel,Action<ILogger,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,Exception>>)

イベント定義インスタンスを作成します。

public EventDefinition (Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions loggingOptions, Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode, Func<Microsoft.Extensions.Logging.LogLevel,Action<Microsoft.Extensions.Logging.ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception>> logActionFunc);
public EventDefinition (Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions loggingOptions, Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode, Func<Microsoft.Extensions.Logging.LogLevel,Action<Microsoft.Extensions.Logging.ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception?>> logActionFunc);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6> : Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions * Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string * Func<Microsoft.Extensions.Logging.LogLevel, Action<Microsoft.Extensions.Logging.ILogger, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, Exception>> -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6>
Public Sub New (loggingOptions As ILoggingOptions, eventId As EventId, level As LogLevel, eventIdCode As String, logActionFunc As Func(Of LogLevel, Action(Of ILogger, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, Exception)))

パラメーター

loggingOptions
ILoggingOptions

ログ オプション。

eventId
EventId

EventId

level
LogLevel

LogLevelイベントがログに記録される 。

eventIdCode
String

ConfigureWarnings(Action<WarningsConfigurationBuilder>)渡す必要があるコードを表す文字列。

logActionFunc
Func<LogLevel,Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception>>

イベントをログ記録するためのキャッシュされたデリゲートを作成する関数。

適用対象