예제 #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
파일: MCData.cs 프로젝트: piet5211/RPLiveTV
 // Debug
 void storeManager_DebugReport(object sender, DebugReportEventArgs e)
 {
     if (DebugReport != null) DebugReport(this, e);
 }