public void TraceUnhandledException(Exception exception) { string str; EtwDiagnosticTrace etwDiagnosticTrace = this.diagnosticTrace; if (exception != null) { str = exception.ToString(); } else { str = string.Empty; } TraceCore.UnhandledException(etwDiagnosticTrace, str, exception); }
public void TraceUnhandledException(Exception exception) { TraceCore.UnhandledException(_diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception); }
public void TraceUnhandledException(Exception exception) { TraceCore.UnhandledException(Fx.Trace, exception); }