/// <summary> /// Check if trace definition is enabled /// Event description ID=57404, Level=warning, Channel=Analytic /// </summary> /// <param name="trace">The trace provider</param> internal static bool HandledExceptionWarningIsEnabled(EtwDiagnosticTrace trace) { return (trace.ShouldTrace(TraceEventLevel.Warning) || TraceCore.IsEtwEventEnabled(trace, 10)); }
/// <summary> /// Check if trace definition is enabled /// Event description ID=57402, Level=verbose, Channel=Debug /// </summary> /// <param name="trace">The trace provider</param> internal static bool TraceCodeEventLogVerboseIsEnabled(EtwDiagnosticTrace trace) { return (trace.ShouldTrace(TraceEventLevel.Verbose) || TraceCore.IsEtwEventEnabled(trace, 8)); }
/// <summary> /// Check if trace definition is enabled /// Event description ID=57403, Level=warning, Channel=Debug /// </summary> /// <param name="trace">The trace provider</param> internal static bool TraceCodeEventLogWarningIsEnabled(EtwDiagnosticTrace trace) { return (trace.ShouldTrace(TraceEventLevel.Warning) || TraceCore.IsEtwEventEnabled(trace, 9)); }
/// <summary> /// Check if trace definition is enabled /// Event description ID=57400, Level=error, Channel=Debug /// </summary> /// <param name="trace">The trace provider</param> internal static bool TraceCodeEventLogErrorIsEnabled(EtwDiagnosticTrace trace) { return (trace.ShouldTrace(TraceEventLevel.Error) || TraceCore.IsEtwEventEnabled(trace, 6)); }
/// <summary> /// Check if trace definition is enabled /// Event description ID=57401, Level=informational, Channel=Debug /// </summary> /// <param name="trace">The trace provider</param> internal static bool TraceCodeEventLogInfoIsEnabled(EtwDiagnosticTrace trace) { return (trace.ShouldTrace(TraceEventLevel.Informational) || TraceCore.IsEtwEventEnabled(trace, 7)); }
/// <summary> /// Check if trace definition is enabled /// Event description ID=57393, Level=informational, Channel=Debug /// </summary> /// <param name="trace">The trace provider</param> internal static bool AppDomainUnloadIsEnabled(EtwDiagnosticTrace trace) { return (trace.ShouldTrace(TraceEventLevel.Informational) || TraceCore.IsEtwEventEnabled(trace, 0)); }
internal static bool ThrowingExceptionIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Warning)) { return true; } else { return TraceCore.IsEtwEventEnabled(trace, 3); } }
/// <summary> /// Check if trace definition is enabled /// Event description ID=57395, Level=error, Channel=Analytic /// </summary> /// <param name="trace">The trace provider</param> internal static bool ShipAssertExceptionMessageIsEnabled(EtwDiagnosticTrace trace) { return (trace.ShouldTrace(TraceEventLevel.Error) || TraceCore.IsEtwEventEnabled(trace, 2)); }
/// <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)); }
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 TraceCodeEventLogInfoIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Informational)) { return true; } else { return TraceCore.IsEtwEventEnabled(trace, 7); } }
internal static bool TraceCodeEventLogErrorIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Error)) { return true; } else { return TraceCore.IsEtwEventEnabled(trace, 6); } }
internal static bool TraceCodeEventLogCriticalIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Critical)) { return true; } else { return TraceCore.IsEtwEventEnabled(trace, 5); } }
/// <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=57397, Level=critical, Channel=Operational /// </summary> /// <param name="trace">The trace provider</param> internal static bool UnhandledExceptionIsEnabled(EtwDiagnosticTrace trace) { return (trace.ShouldTrace(TraceEventLevel.Critical) || TraceCore.IsEtwEventEnabled(trace, 4)); }
/// <summary> /// Check if trace definition is enabled /// Event description ID=57407, Level=verbose, Channel=Analytic /// </summary> /// <param name="trace">The trace provider</param> internal static bool ThrowingExceptionVerboseIsEnabled(EtwDiagnosticTrace trace) { return (trace.ShouldTrace(TraceEventLevel.Verbose) || TraceCore.IsEtwEventEnabled(trace, 20)); }
/// <summary> /// Check if trace definition is enabled /// Event description ID=57399, Level=critical, Channel=Debug /// </summary> /// <param name="trace">The trace provider</param> internal static bool TraceCodeEventLogCriticalIsEnabled(EtwDiagnosticTrace trace) { return (trace.ShouldTrace(TraceEventLevel.Critical) || TraceCore.IsEtwEventEnabled(trace, 5)); }
/// <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)); }
internal static bool HandledExceptionVerboseIsEnabled(EtwDiagnosticTrace trace) { if (trace.ShouldTrace(TraceEventLevel.Verbose)) { return true; } else { return TraceCore.IsEtwEventEnabled(trace, 16); } }