/[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 96 by william, Wed May 9 22:42:57 2012 UTC revision 97 by william, Wed May 9 22:48:59 2012 UTC
# Line 16  namespace RomCheater.Logging Line 16  namespace RomCheater.Logging
16    
17      #region MesageLogger      #region MesageLogger
18      [Flags]      [Flags]
19      public enum loggerflags      public enum loggerflags :ushort
20      {      {
21          NONE = 0x0000,              // 000          NONE = 0x0000,              // 000
22          INFO = 0x0001,              // 001          INFO = 0x0001,              // 001
# Line 30  namespace RomCheater.Logging Line 30  namespace RomCheater.Logging
30          private static loggerflags logging_flags;          private static loggerflags logging_flags;
31          static logger() { SetLoggingFlags(loggerflags.DEFAULT); }          static logger() { SetLoggingFlags(loggerflags.DEFAULT); }
32          public static void SetLoggingFlags(loggerflags flags) { logging_flags = flags; }          public static void SetLoggingFlags(loggerflags flags) { logging_flags = flags; }
33            public static loggerflags GetLoggingFlags() { return logging_flags; }
34          #region sub-classes          #region sub-classes
35          private static string CreateTimeStamp()          private static string CreateTimeStamp()
36          {          {

Legend:
Removed from v.96  
changed lines
  Added in v.97

  ViewVC Help
Powered by ViewVC 1.1.22