/[RomCheater]/trunk/RomCheater/Serialization/SearchResultWriter.cs
ViewVC logotype

Diff of /trunk/RomCheater/Serialization/SearchResultWriter.cs

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

--- trunk/RomCheater/Serialization/SearchResultWriter.cs	2013/06/03 01:45:40	456
+++ trunk/RomCheater/Serialization/SearchResultWriter.cs	2013/06/05 08:12:24	528
@@ -1,4 +1,17 @@
-´╗┐using System;
+´╗┐#region Logging Defines
+// include this any class or method that required logging, and comment-out what is not needed
+
+#region Enabled logging levels
+#define LOGGING_ENABLE_INFO
+#define LOGGING_ENABLE_WARN
+#define LOGGING_ENABLE_DEBUG
+#define LOGGING_ENABLE_VERBOSEDEBUG
+#define LOGGING_ENABLE_ERROR
+#define LOGGING_ENABLE_VERBOSEERROR
+#define LOGGING_ENABLE_PROFILER
+#endregion
+#endregion
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
@@ -17,7 +30,10 @@
         private int ResultsWritten = 0;
         protected override string TemporaryFolder { get { return SearchResultsConstants.SearchResultsFolder; } }
         //public SearchResultWriter() : base() { }
-        public SearchResultWriter(int resultCount, Guid guid) : base(resultCount, guid) { WriteHeader(guid); }
+        public SearchResultWriter(Guid guid) : this(0, guid) { }
+        public SearchResultWriter(Guid guid, bool delete) : this(0, guid, delete) { }
+        public SearchResultWriter(int resultCount, Guid guid) : this(resultCount, guid,false) {  }
+        public SearchResultWriter(int resultCount, Guid guid, bool delete) : base(resultCount, guid,delete) { WriteHeader(guid); }
         //public SearchResultWriter(string filename, Guid guid) : base(CreateFileName(filename,guid), guid) { WriteHeader(guid); }
         //public SearchResultWriter(string filename, int resultCount, Guid guid) : base(filename, resultCount, guid, false) { WriteHeader(guid); }
         //public SearchResultWriter(string filename, int resultCount, Guid guid, bool delete) : base(filename, resultCount, guid, delete) { WriteHeader(guid); }      
@@ -122,4 +138,4 @@
             }
         }
     }
-}
+}
\ No newline at end of file

 

  ViewVC Help
Powered by ViewVC 1.1.22