public static void Report(Exception e, Insights.Severity severity = Insights.Severity.Warning)
        {
            if (!IsEnabled)
            {
                return;
            }

            Insights.Report(e, severity);
        }
示例#2
0
        public void Report(Exception ex, IDictionary extraData = null, Insights.Severity warningLevel = Insights.Severity.Warning)
        {
            Debug.WriteLine("Transcendence: Exception occurred: " + ex);

            if (!Insights.IsInitialized)
            {
                return;
            }

            Insights.Report(ex, extraData, warningLevel);
        }
 public void LoggError(Exception exception, Insights.Severity severity = Insights.Severity.Error)
 {
     try
     {
         if (Insights.IsInitialized)
         {
             Insights.Report(exception, severity);
         }
     }
     catch (Exception)
     {
         //throw;
     }
 }
示例#4
0
 public void Report(Exception exception, string key, string value, Insights.Severity warningLevel = Insights.Severity.Warning)
 {
     Insights.Report(exception, key, value, warningLevel);
 }
示例#5
0
 public void Report(Exception exception, IDictionary extraData, Insights.Severity warningLevel = Insights.Severity.Warning)
 {
     Insights.Report(exception, extraData, warningLevel);
 }
示例#6
0
 public void Report(Exception exception = null, Insights.Severity warningLevel = Insights.Severity.Warning)
 {
     Insights.Report(exception, warningLevel);
 }