/[RomCheater]/trunk/RomCheater.PluginFramework/Core/ConfigPlugin.cs
ViewVC logotype

Diff of /trunk/RomCheater.PluginFramework/Core/ConfigPlugin.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 177 by william, Mon May 28 09:37:16 2012 UTC revision 300 by william, Tue Jun 5 11:38:32 2012 UTC
# Line 1  Line 1 
1  //#define DISABLE_VERBOSE_LOGGING_FOR_PERFORMANCE_BOOST // when defined will disable verbose logging for performance speed-up  //#define DISABLE_VERBOSE_LOGGING_FOR_PERFORMANCE_BOOST // when defined will disable verbose logging for performance speed-up
2  #define DISALLOW_VERBOSE_LOGGING // when defined will disallow verbose logging for performance reasons  //#define DISALLOW_VERBOSE_LOGGING // when defined will disallow verbose logging for performance reasons
3  #define ALLOW_SYSTEM_PROCESSES_TO_BE_INLUCDED // when defined system processes will be included in process list  #define ALLOW_SYSTEM_PROCESSES_TO_BE_INLUCDED // when defined system processes will be included in process list
4  using System;  using System;
5  using System.Collections.Generic;  using System.Collections.Generic;
# Line 71  namespace RomCheater.PluginFramework.Cor Line 71  namespace RomCheater.PluginFramework.Cor
71                          proc_list.Add(container);                          proc_list.Add(container);
72                      }                      }
73                      catch (FileNotFoundException) { }                      catch (FileNotFoundException) { }
74                      catch (Exception)                      catch (Exception ex)
75                      {                      {
76                          //throw;                          //throw;
77                          #if !DISALLOW_VERBOSE_LOGGING                          #if !DISALLOW_VERBOSE_LOGGING
# Line 90  namespace RomCheater.PluginFramework.Cor Line 90  namespace RomCheater.PluginFramework.Cor
90                      }                                        }                  
91                      //continue;                      //continue;
92                  }                  }
93                  catch (Exception)                  catch (Exception ex)
94                  {                  {
95                      #if !DISALLOW_VERBOSE_LOGGING                      #if !DISALLOW_VERBOSE_LOGGING
96                      logger.VerboseError.WriteLine("    not adding process {0} because it thew an exception [{1}]", proc_name, ex.ToString());                      logger.VerboseError.WriteLine("    not adding process {0} because it thew an exception [{1}]", proc_name, ex.ToString());

Legend:
Removed from v.177  
changed lines
  Added in v.300

  ViewVC Help
Powered by ViewVC 1.1.22