コード例 #1
0
        public void ReportException(Exception e, string key = "", string value = "", ReportSeverity2 warningLevel = ReportSeverity2.Warning)
        {
            // Conditionally spin up error reporting if not on the Stable channel
            string channel = UserSettings.Instance.get("UpdateFeedType");

            if (string.IsNullOrEmpty(channel) || channel != "release" || OemSettings.Instance.WindowTitleExtra == "Experimental")
            {
#if !DEBUG
                _raygunClient.Send(e);
#endif
            }
        }
コード例 #2
0
		public void ReportException(Exception e, string key = "", string value = "", ReportSeverity2 warningLevel = ReportSeverity2.Warning)
		{
			// Conditionally spin up error reporting if not on the Stable channel
			string channel = UserSettings.Instance.get("UpdateFeedType");
			if (string.IsNullOrEmpty(channel) || channel != "release" || OemSettings.Instance.WindowTitleExtra == "Experimental")
			{
#if !DEBUG
				_raygunClient.Send(e);
#endif
			}
		}
コード例 #3
0
		public void ReportException(Exception e, string key, string value, ReportSeverity2 warningLevel = ReportSeverity2.Warning)
		{
			// do nothing
		}