Parent Directory
|
Revision Log
|
Patch
--- trunk/RomCheater.PluginFramework/Core/ConfigPlugin.cs 2014/04/15 14:30:48 811 +++ trunk/RomCheater.PluginFramework/Core/ConfigPlugin.cs 2014/04/15 14:52:10 812 @@ -23,6 +23,7 @@ using RomCheater.Logging; using System.IO; using RomCheater.Core; +using Enterprise.Logging; namespace RomCheater.PluginFramework.Core { @@ -59,10 +60,10 @@ public override void Reload(bool silent) { if (!silent) - logger.Debug.WriteLine(" Loading config for {0}...", this.ToString()); + gLog.Debug.WriteLine(" Loading config for {0}...", this.ToString()); init(silent); if (!silent) - logger.Debug.WriteLine(" Loaded config for {0}.", this.ToString()); + gLog.Debug.WriteLine(" Loaded config for {0}.", this.ToString()); } private void init() { init(false); } private void init(bool silent) @@ -106,7 +107,7 @@ container = new ProcContainer(proc); #if !DISALLOW_VERBOSE_LOGGING if(!silent) - logger.VerboseDebug.WriteLine(" adding process {0} ", proc_name); + gLog.Verbose.Debug.WriteLine(" adding process {0} ", proc_name); #endif proc_list.Add(container); } @@ -116,7 +117,7 @@ { //throw; if(!silent) - logger.VerboseError.WriteLine(" not adding process {0} because it thew an exception [{1}]", proc_name, ex.ToString()); + gLog.Verbose.Error.WriteLine(" not adding process {0} because it thew an exception [{1}]", proc_name, ex.ToString()); //continue; } #else @@ -129,7 +130,7 @@ { #if !DISALLOW_VERBOSE_LOGGING if(!silent) - logger.VerboseError.WriteLine(" not adding process {0} because it thew an exception [{1}]", proc_name, ex.ToString()); + gLog.Verbose.Error.WriteLine(" not adding process {0} because it thew an exception [{1}]", proc_name, ex.ToString()); #endif } //continue; @@ -138,7 +139,7 @@ catch (Exception ex) { if(!silent) - logger.VerboseError.WriteLine(" not adding process {0} because it thew an exception [{1}]", proc_name, ex.ToString()); + gLog.Verbose.Error.WriteLine(" not adding process {0} because it thew an exception [{1}]", proc_name, ex.ToString()); //continue; } #else
ViewVC Help | |
Powered by ViewVC 1.1.22 |