public void LogError(String message, Exception ex) { var log = this.activityLog; if (log != null) { log.LogEntry( (UInt32)__ACTIVITYLOG_ENTRYTYPE.ALE_ERROR, "Viasfora", String.Format("{0}. Exception: {1}", message, ex) ); } Telemetry.WriteException(message, ex); }
public void WriteException(string msg, Exception ex) { Telemetry.WriteException(msg, ex); }