ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.Logging/logger.cs
(Generate patch)

Comparing trunk/RomCheater.Logging/logger.cs (file contents):
Revision 96 by william, Wed May 9 22:42:57 2012 UTC vs.
Revision 97 by william, Wed May 9 22:48:59 2012 UTC

--- trunk/RomCheater.Logging/logger.cs	2012/05/09 22:42:57	96
+++ trunk/RomCheater.Logging/logger.cs	2012/05/09 22:48:59	97
@@ -16,7 +16,7 @@ namespace RomCheater.Logging
 
     #region MesageLogger
     [Flags]
-    public enum loggerflags
+    public enum loggerflags :ushort
     {
         NONE = 0x0000,              // 000
         INFO = 0x0001,              // 001
@@ -30,6 +30,7 @@ namespace RomCheater.Logging
         private static loggerflags logging_flags;
         static logger() { SetLoggingFlags(loggerflags.DEFAULT); }
         public static void SetLoggingFlags(loggerflags flags) { logging_flags = flags; }
+        public static loggerflags GetLoggingFlags() { return logging_flags; }
         #region sub-classes
         private static string CreateTimeStamp()
         {