ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.CorePlugins/Config/GenericConfig.cs
(Generate patch)

Comparing trunk/RomCheater.CorePlugins/Config/GenericConfig.cs (file contents):
Revision 150 by william, Sun May 27 23:05:18 2012 UTC vs.
Revision 151 by william, Mon May 28 00:17:16 2012 UTC

--- trunk/RomCheater.CorePlugins/Config/GenericConfig.cs	2012/05/27 23:59:22	150
+++ trunk/RomCheater.CorePlugins/Config/GenericConfig.cs	2012/05/28 00:17:16	151
@@ -1,4 +1,5 @@
-´╗┐using System;
+´╗┐#define DISALLOW_VERBOSE_LOGGING // when defined will disallow verbose logging for performance reasons
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
@@ -15,7 +16,9 @@ namespace RomCheater.CorePlugins.Config
         public GenericConfig(bool doinit) : base(doinit) { }
         protected override bool IsNotValidProcess(ProcContainer p)
         {
+#if !DISALLOW_VERBOSE_LOGGING
             logger.VerboseDebug.WriteLine("    Allowing process {0} to be added", p.Name);
+#endif
             return false;
         }
         #region IPluginBase Members