언어

IDiagnosticsLogger.NeedsEventData 메서드

정의

오버로드

속성 Description
NeedsEventData(EventDefinitionBase, Boolean, Boolean)

지정된 이벤트에 대해 활성화되었는지 여부에 따라 인스턴스가 DiagnosticSourceIDbContextLogger 필요한지 여부를 EventData 결정합니다.

NeedsEventData<TInterceptor>(EventDefinitionBase, TInterceptor, Boolean, Boolean)

지정된 이벤트에 대해 활성화된 인스턴스가 있는지 여부에 따라 인스턴스가 필요한지 DiagnosticSourceIDbContextLoggerIInterceptor 여부를 EventData 결정합니다.

NeedsEventData(EventDefinitionBase, Boolean, Boolean)

Source:
IDiagnosticsLogger.cs
Source:
IDiagnosticsLogger.cs
Source:
IDiagnosticsLogger.cs
Source:
IDiagnosticsLogger.cs
Source:
IDiagnosticsLogger.cs
Source:
IDiagnosticsLogger.cs
Source:
IDiagnosticsLogger.cs

지정된 이벤트에 대해 활성화되었는지 여부에 따라 인스턴스가 DiagnosticSourceIDbContextLogger 필요한지 여부를 EventData 결정합니다.

public virtual bool NeedsEventData(Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase definition, out bool diagnosticSourceEnabled, out bool simpleLogEnabled);
abstract member NeedsEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * bool * bool -> bool
override this.NeedsEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * bool * bool -> bool
Public Overridable Function NeedsEventData (definition As EventDefinitionBase, ByRef diagnosticSourceEnabled As Boolean, ByRef simpleLogEnabled As Boolean) As Boolean

매개 변수

definition
EventDefinitionBase

이벤트의 정의입니다.

diagnosticSourceEnabled
Boolean

true 활성화된 경우로 DiagnosticSource 설정하고, false 그렇지 않으면 설정합니다.

simpleLogEnabled
Boolean

True이면 >이고, 그렇지 않으면 true입니다.

반품

true 진단 원본 또는 LogTo 로거를 사용하는 경우 false 그렇지 않은 경우

적용 대상

NeedsEventData<TInterceptor>(EventDefinitionBase, TInterceptor, Boolean, Boolean)

Source:
IDiagnosticsLogger.cs
Source:
IDiagnosticsLogger.cs
Source:
IDiagnosticsLogger.cs
Source:
IDiagnosticsLogger.cs
Source:
IDiagnosticsLogger.cs
Source:
IDiagnosticsLogger.cs
Source:
IDiagnosticsLogger.cs

지정된 이벤트에 대해 활성화된 인스턴스가 있는지 여부에 따라 인스턴스가 필요한지 DiagnosticSourceIDbContextLoggerIInterceptor 여부를 EventData 결정합니다.

public virtual bool NeedsEventData<TInterceptor>(Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase definition, out TInterceptor? interceptor, out bool diagnosticSourceEnabled, out bool simpleLogEnabled) where TInterceptor : class, Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor;
public virtual bool NeedsEventData<TInterceptor>(Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase definition, out TInterceptor interceptor, out bool diagnosticSourceEnabled, out bool simpleLogEnabled) where TInterceptor : class, Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor;
abstract member NeedsEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * 'Interceptor * bool * bool -> bool (requires 'Interceptor : null and 'Interceptor :> Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor)
override this.NeedsEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * 'Interceptor * bool * bool -> bool (requires 'Interceptor : null and 'Interceptor :> Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor)
Public Overridable Function NeedsEventData(Of TInterceptor As {Class, IInterceptor}) (definition As EventDefinitionBase, ByRef interceptor As TInterceptor, ByRef diagnosticSourceEnabled As Boolean, ByRef simpleLogEnabled As Boolean) As Boolean

형식 매개 변수

TInterceptor

매개 변수

definition
EventDefinitionBase

이벤트의 정의입니다.

interceptor
TInterceptor

사용하도록 설정된 경우 사용할 값입니다 IInterceptor . 그렇지 않으면 null입니다.

diagnosticSourceEnabled
Boolean

true 활성화된 경우로 DiagnosticSource 설정하고, false 그렇지 않으면 설정합니다.

simpleLogEnabled
Boolean

True이면 >이고, 그렇지 않으면 true입니다.

반품

true 진단 원본, LogTo 로거 또는 인터셉터가 활성화된 경우 false 그렇지 않은 경우

적용 대상