--- trunk/RomCheater/RomCheaterConfigDialog.cs 2012/06/03 19:47:47 265 +++ trunk/RomCheater/RomCheaterConfigDialog.cs 2012/06/03 19:51:54 266 @@ -49,7 +49,7 @@ namespace RomCheater { if (item == RomCheater.Properties.Settings.Default.LastConfigPlugin) { - logger.Debug.WriteLine(" loading LastConfigPlugin: {0}", RomCheater.Properties.Settings.Default.LastConfigPlugin); + logger.VerboseDebug.WriteLine(" loading LastConfigPlugin: {0}", RomCheater.Properties.Settings.Default.LastConfigPlugin); comboConfigPlugins.SelectedIndex = comboConfigPlugins.Items.IndexOf(item); break; } @@ -58,7 +58,7 @@ namespace RomCheater { if (item == RomCheater.Properties.Settings.Default.LastInputPlugin) { - logger.Debug.WriteLine(" loading LastInputPlugin: {0}", RomCheater.Properties.Settings.Default.LastInputPlugin); + logger.VerboseDebug.WriteLine(" loading LastInputPlugin: {0}", RomCheater.Properties.Settings.Default.LastInputPlugin); comboInputPlugins.SelectedIndex = comboInputPlugins.Items.IndexOf(item); break; } @@ -67,7 +67,7 @@ namespace RomCheater { if (item == RomCheater.Properties.Settings.Default.LastWindowPlugin) { - logger.Debug.WriteLine(" loading LastWindowPlugin: {0}", RomCheater.Properties.Settings.Default.LastWindowPlugin); + logger.VerboseDebug.WriteLine(" loading LastWindowPlugin: {0}", RomCheater.Properties.Settings.Default.LastWindowPlugin); comboWindowPlugins.SelectedIndex = comboWindowPlugins.Items.IndexOf(item); break; } @@ -77,7 +77,7 @@ namespace RomCheater private void load_loggerflags() { - logger.Debug.WriteLine("Loading logger flags..."); + logger.VerboseDebug.WriteLine("Loading logger flags..."); loggerflags logflags = Logging.Properties.Settings.Default.LoggingFlags; if (logflags != logger.GetLoggingFlags()) @@ -106,12 +106,12 @@ namespace RomCheater chkloggerflags.Width = size.Width + 25; grpLoggingFlags_flow.Controls.Add(chkloggerflags); - logger.Debug.WriteLine("\tAdding logger flag: {0} value: 0x{1:x4}", name, value); + logger.VerboseDebug.WriteLine("\tAdding logger flag: {0} value: 0x{1:x4}", name, value); if (logflags.HasFlag(value)) { chkloggerflags.Checked = true; - logger.Debug.WriteLine("\tTurning on logger flag: {0} value: 0x{1:x4}", name, value); + logger.VerboseDebug.WriteLine("\tTurning on logger flag: {0} value: 0x{1:x4}", name, value); } } //grpLoggingFlags.AutoSize = true; @@ -138,13 +138,13 @@ namespace RomCheater } private void SaveSelectedPlugins() { - logger.Debug.WriteLine(" Setting LastConfigPlugin to {0}", comboConfigPlugins.Items[comboConfigPlugins.SelectedIndex].ToString()); + logger.VerboseDebug.WriteLine(" Setting LastConfigPlugin to {0}", comboConfigPlugins.Items[comboConfigPlugins.SelectedIndex].ToString()); RomCheater.Properties.Settings.Default.LastConfigPlugin = comboConfigPlugins.Items[comboConfigPlugins.SelectedIndex].ToString(); - logger.Debug.WriteLine(" Setting LastInputPlugin to {0}", comboInputPlugins.Items[comboInputPlugins.SelectedIndex].ToString()); + logger.VerboseDebug.WriteLine(" Setting LastInputPlugin to {0}", comboInputPlugins.Items[comboInputPlugins.SelectedIndex].ToString()); RomCheater.Properties.Settings.Default.LastInputPlugin = comboInputPlugins.Items[comboInputPlugins.SelectedIndex].ToString(); - logger.Debug.WriteLine(" Setting LastWindowPlugin to {0}", comboWindowPlugins.Items[comboWindowPlugins.SelectedIndex].ToString()); + logger.VerboseDebug.WriteLine(" Setting LastWindowPlugin to {0}", comboWindowPlugins.Items[comboWindowPlugins.SelectedIndex].ToString()); RomCheater.Properties.Settings.Default.LastWindowPlugin = comboWindowPlugins.Items[comboWindowPlugins.SelectedIndex].ToString(); } private void SaveLoggingFlags() @@ -156,7 +156,7 @@ namespace RomCheater if (!cb.Checked) continue; ushort value = Convert.ToUInt16(cb.Tag); logflags = (ushort)(logflags | value); - logger.Debug.WriteLine("\tAdding flag: {0} value: 0x{1:x4} LoggingFlags=0x{2:x4}", cb.Text, value, (int)logflags); + logger.VerboseDebug.WriteLine("\tAdding flag: {0} value: 0x{1:x4} LoggingFlags=0x{2:x4}", cb.Text, value, (int)logflags); } Logging.Properties.Settings.Default.LoggingFlags = (ushort)logflags; logger.Debug.WriteLine("Saved Logger flags."); |