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

# Line 112 | Line 112 | namespace RomCheater.Logging
112  
113          public static List<ushort> GetValues() { return value_pairs.Keys.ToList(); }
114          public static List<string> GetNames() { return name_pairs.Keys.ToList(); }
115 +
116 +        public string Name { get { return CurrentValue.Name; } }
117 +        public ushort Value { get { return CurrentValue.Value; } }
118 +
119      }
120      public static class logger
121      {
122          private static loggerflags logging_flags;
123          static logger() { SetLoggingFlags(loggerflags.DEFAULT); }
124          public static void SetLoggingFlags(loggerflags flags) { logging_flags = flags; }
125 <        public static ushort GetLoggingFlags() { return logging_flags; }
125 >        public static loggerflags GetLoggingFlags() { return logging_flags; }
126          #region sub-classes
127          private static string CreateTimeStamp()
128          {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines