示例#1
0
 // Debug
 void storeManager_DebugReport(object sender, DebugReportEventArgs e)
 {
     if (DebugReport != null)
     {
         DebugReport(this, e);
     }
 }
示例#2
0
        void Object_DebugReport(object sender, DebugReportEventArgs e)
        {
            bool logReport = false;

            if (e.Severity < 10)
                if (Settings.Default.DebugAdvanced)
                    logReport = true;

            if (e.Severity >= 10)
                logReport = true;

            if (logReport)
            {
                Functions.WriteLineToLogFile(e.DebugText);
                if (e.ThrownException != null)
                    Functions.WriteExceptionToLogFile(e.ThrownException);
            }
        }
示例#3
0
        void RecTV_DebugReport(object sender, DebugReportEventArgs e)
        {
            if (! Settings.Default.DebugRecTV) return;

            Functions.WriteLineToLogFile(e.DebugText);
            if (e.ThrownException != null)
                Functions.WriteExceptionToLogFile(e.ThrownException);
        }
示例#4
0
 // Debug
 void storeManager_DebugReport(object sender, DebugReportEventArgs e)
 {
     if (DebugReport != null) DebugReport(this, e);
 }