/[RomCheater]/trunk/RomCheater.Logging/logger.cs
ViewVC logotype

Diff of /trunk/RomCheater.Logging/logger.cs

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

--- 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 @@
 
         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()
         {

 

  ViewVC Help
Powered by ViewVC 1.1.22