/[RomCheater]/trunk/RomCheater.CorePlugins/Config/GenericConfig.cs
ViewVC logotype

Diff of /trunk/RomCheater.CorePlugins/Config/GenericConfig.cs

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

revision 150 by william, Sun May 27 23:05:18 2012 UTC revision 151 by william, Mon May 28 00:17:16 2012 UTC
# Line 1  Line 1 
1  ´╗┐using System;  ´╗┐#define DISALLOW_VERBOSE_LOGGING // when defined will disallow verbose logging for performance reasons
2    using System;
3  using System.Collections.Generic;  using System.Collections.Generic;
4  using System.Linq;  using System.Linq;
5  using System.Text;  using System.Text;
# Line 15  namespace RomCheater.CorePlugins.Config Line 16  namespace RomCheater.CorePlugins.Config
16          public GenericConfig(bool doinit) : base(doinit) { }          public GenericConfig(bool doinit) : base(doinit) { }
17          protected override bool IsNotValidProcess(ProcContainer p)          protected override bool IsNotValidProcess(ProcContainer p)
18          {          {
19    #if !DISALLOW_VERBOSE_LOGGING
20              logger.VerboseDebug.WriteLine("    Allowing process {0} to be added", p.Name);              logger.VerboseDebug.WriteLine("    Allowing process {0} to be added", p.Name);
21    #endif
22              return false;              return false;
23          }          }
24          #region IPluginBase Members          #region IPluginBase Members

Legend:
Removed from v.150  
changed lines
  Added in v.151

  ViewVC Help
Powered by ViewVC 1.1.22