internal static bool UnhandledExceptionIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Critical)) { return(true); } else { return(TraceCore.IsEtwEventEnabled(trace, 4)); } }
internal static bool TraceCodeEventLogVerboseIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Verbose)) { return(true); } else { return(TraceCore.IsEtwEventEnabled(trace, 8)); } }
internal static bool TraceCodeEventLogWarningIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Warning)) { return(true); } else { return(TraceCore.IsEtwEventEnabled(trace, 9)); } }
internal static bool TraceCodeEventLogErrorIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Error)) { return(true); } else { return(TraceCore.IsEtwEventEnabled(trace, 6)); } }
internal static bool TraceCodeEventLogInfoIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Informational)) { return(true); } else { return(TraceCore.IsEtwEventEnabled(trace, 7)); } }
internal static bool TraceCodeEventLogCriticalIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Critical)) { return(true); } else { return(TraceCore.IsEtwEventEnabled(trace, 5)); } }
internal static bool ThrowingExceptionVerboseIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Verbose)) { return(true); } else { return(TraceCore.IsEtwEventEnabled(trace, 20)); } }
internal static bool ShipAssertExceptionMessageIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Error)) { return(true); } else { return(TraceCore.IsEtwEventEnabled(trace, 2)); } }
internal static bool HandledExceptionWarningIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Warning)) { return(true); } else { return(TraceCore.IsEtwEventEnabled(trace, 10)); } }
internal static bool AppDomainUnloadIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Informational)) { return(true); } else { return(TraceCore.IsEtwEventEnabled(trace, 0)); } }
/// <summary> /// Check if trace definition is enabled /// Event description ID=57394, Level=informational, Channel=Analytic /// </summary> /// <param name="trace">The trace provider</param> internal static bool HandledExceptionIsEnabled(EtwDiagnosticTrace trace) { return(trace.ShouldTrace(TraceEventLevel.Informational) || TraceCore.IsEtwEventEnabled(trace, 1)); }
/// <summary> /// Check if trace definition is enabled /// Event description ID=57406, Level=verbose, Channel=Analytic /// </summary> /// <param name="trace">The trace provider</param> internal static bool HandledExceptionVerboseIsEnabled(EtwDiagnosticTrace trace) { return(trace.ShouldTrace(TraceEventLevel.Verbose) || TraceCore.IsEtwEventEnabled(trace, 16)); }
/// <summary> /// Check if trace definition is enabled /// Event description ID=57405, Level=error, Channel=Operational /// </summary> /// <param name="trace">The trace provider</param> internal static bool HandledExceptionErrorIsEnabled(EtwDiagnosticTrace trace) { return(trace.ShouldTrace(TraceEventLevel.Error) || TraceCore.IsEtwEventEnabled(trace, 15)); }
/// <summary> /// Check if trace definition is enabled /// Event description ID=57396, Level=warning, Channel=Analytic /// </summary> /// <param name="trace">The trace provider</param> internal static bool ThrowingExceptionIsEnabled(EtwDiagnosticTrace trace) { return(trace.ShouldTrace(TraceEventLevel.Warning) || TraceCore.IsEtwEventEnabled(trace, 3)); }