/[RomCheater]/trunk/RomCheater/Docking/MemorySearch/AddressValuePairList.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/MemorySearch/AddressValuePairList.cs

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

--- trunk/RomCheater/Docking/MemorySearch/AddressValuePairList.cs	2014/04/15 14:30:48	811
+++ trunk/RomCheater/Docking/MemorySearch/AddressValuePairList.cs	2014/04/15 14:52:10	812
@@ -27,6 +27,7 @@
 using System.Diagnostics;
 
 using RomCheater.Core;
+using Enterprise.Logging;
 
 namespace System.Windows.Forms
 {
@@ -890,14 +891,14 @@
             catch (InvalidCastException ex)
             {
                 Exception ex1 = new Exception("Unable to Convert ListViewItem to ResultItem in ResultItemCollection.Contains(ListViewItem item)", ex);
-                logger.Error.WriteLine("avp.contains(ListViewItem item): invalid cast");
-                logger.Error.WriteLine(ex1.ToString());
+                gLog.Error.WriteLine("avp.contains(ListViewItem item): invalid cast");
+                gLog.Verbose.Error.WriteLine(ex1.ToString());
                 return false;
             }
             catch (Exception ex)
             {
-                logger.Error.WriteLine("avp.contains(): exception");
-                logger.Error.WriteLine(ex.ToString());
+                gLog.Error.WriteLine("avp.contains(): exception");
+                gLog.Verbose.Error.WriteLine(ex.ToString());
                 return false;
             }
         }
@@ -926,8 +927,8 @@
             catch (Exception ex)
             {
                 Exception ex1 = new Exception("Caught non-Argument or Index OutOfRangeException in: ResultItemCollection.Contains(ListViewItem item, int index)", ex);
-                logger.Error.WriteLine("avp.contains(ResultItem item): Exception");
-                logger.Error.WriteLine(ex1.ToString());
+                gLog.Error.WriteLine("avp.contains(ResultItem item): Exception");
+                gLog.Verbose.Error.WriteLine(ex1.ToString());
                 return false;
             }
         }

 

  ViewVC Help
Powered by ViewVC 1.1.22