Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsEnabled() [3/3]

bool System.Diagnostics.Tracing.EventSource.IsEnabled ( EventLevel level,
EventKeywords keywords,
EventChannel channel )
inlineinherited

Definition at line 317 of file EventSource.cs.

318 {
319 if (!IsEnabled())
320 {
321 return false;
322 }
323 if (!IsEnabledCommon(m_eventSourceEnabled, m_level, m_matchAnyKeyword, level, keywords, channel))
324 {
325 return false;
326 }
327 return true;
328 }
bool IsEnabledCommon(bool enabled, EventLevel currentLevel, EventKeywords currentMatchAnyKeyword, EventLevel eventLevel, EventKeywords eventKeywords, EventChannel eventChannel)

References System.Diagnostics.Tracing.EventSource.IsEnabled(), System.Diagnostics.Tracing.EventSource.IsEnabledCommon(), System.Diagnostics.Tracing.EventSource.m_eventSourceEnabled, System.Diagnostics.Tracing.EventSource.m_level, and System.Diagnostics.Tracing.EventSource.m_matchAnyKeyword.