/[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

revision 111 by william, Thu May 10 13:55:44 2012 UTC revision 112 by william, Thu May 10 14:01:31 2012 UTC
# Line 112  namespace RomCheater.Logging Line 112  namespace RomCheater.Logging
112    
113          public static List<ushort> GetValues() { return value_pairs.Keys.ToList(); }          public static List<ushort> GetValues() { return value_pairs.Keys.ToList(); }
114          public static List<string> GetNames() { return name_pairs.Keys.ToList(); }          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      public static class logger
121      {      {
122          private static loggerflags logging_flags;          private static loggerflags logging_flags;
123          static logger() { SetLoggingFlags(loggerflags.DEFAULT); }          static logger() { SetLoggingFlags(loggerflags.DEFAULT); }
124          public static void SetLoggingFlags(loggerflags flags) { logging_flags = flags; }          public static void SetLoggingFlags(loggerflags flags) { logging_flags = flags; }
125          public static ushort GetLoggingFlags() { return logging_flags; }          public static loggerflags GetLoggingFlags() { return logging_flags; }
126          #region sub-classes          #region sub-classes
127          private static string CreateTimeStamp()          private static string CreateTimeStamp()
128          {          {

Legend:
Removed from v.111  
changed lines
  Added in v.112

  ViewVC Help
Powered by ViewVC 1.1.22