次の方法で共有


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

定義

オーバーロード

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

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

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

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

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

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

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

ソース:
EventDefinition%60%60%60%60.cs
ソース:
EventDefinition%60%60%60%60.cs

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

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

パラメーター

eventId
EventId

EventId

level
LogLevel

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

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

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

適用対象

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

ソース:
EventDefinition%60%60%60%60.cs
ソース:
EventDefinition%60%60%60%60.cs

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

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

パラメーター

eventId
EventId

EventId

level
LogLevel

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

eventIdCode
String

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

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

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

適用対象

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

ソース:
EventDefinition%60%60%60%60.cs
ソース:
EventDefinition%60%60%60%60.cs
ソース:
EventDefinition%60%60%60%60.cs
ソース:
EventDefinition%60%60%60%60.cs
ソース:
EventDefinition%60%60%60%60.cs
ソース:
EventDefinition%60%60%60%60.cs
ソース:
EventDefinition%60%60%60%60.cs

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

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,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,Exception?>> logActionFunc);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4> : 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, Exception>> -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4>
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, Exception)))

パラメーター

loggingOptions
ILoggingOptions

ログ オプション。

eventId
EventId

EventId

level
LogLevel

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

eventIdCode
String

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

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

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

適用対象