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 111 by william, Thu May 10 13:55:44 2012 UTC vs.
Revision 112 by william, Thu May 10 14:01:31 2012 UTC

--- trunk/RomCheater.Logging/logger.cs	2012/05/10 13:55:44	111
+++ trunk/RomCheater.Logging/logger.cs	2012/05/10 14:01:31	112
@@ -112,13 +112,17 @@ namespace RomCheater.Logging
 
         public static List<ushort> GetValues() { return value_pairs.Keys.ToList(); }
         public static List<string> GetNames() { return name_pairs.Keys.ToList(); }
+
+        public string Name { get { return CurrentValue.Name; } }
+        public ushort Value { get { return CurrentValue.Value; } }
+
     }
     public static class logger
     {
         private static loggerflags logging_flags;
         static logger() { SetLoggingFlags(loggerflags.DEFAULT); }
         public static void SetLoggingFlags(loggerflags flags) { logging_flags = flags; }
-        public static ushort GetLoggingFlags() { return logging_flags; }
+        public static loggerflags GetLoggingFlags() { return logging_flags; }
         #region sub-classes
         private static string CreateTimeStamp()
         {