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 95 by william, Wed May 9 22:37:17 2012 UTC vs.
Revision 96 by william, Wed May 9 22:42:57 2012 UTC

# Line 61 | Line 61 | namespace RomCheater.Logging
61          {
62              public static class Info
63              {
64 <                private static string CreateNewFormat(string format) { return "    " + CreateTimeStamp() + "(INFO) " + format; }
64 >                private static string CreateNewFormat(string format) { return "    " + CreateTimeStamp() + "(FORCED INFO) " + format; }
65                  public static void Write(string format, params object[] args) { xlogger.Write(CreateNewFormat(format), args); }
66                  public static void WriteLine(string format, params object[] args) { xlogger.WriteLine(CreateNewFormat(format), args); }
67              }
68              public static class Debug
69              {
70 <                private static string CreateNewFormat(string format) { return "    " + CreateTimeStamp() + "(DEBUG) " + format; }
70 >                private static string CreateNewFormat(string format) { return "    " + CreateTimeStamp() + "(FORCED DEBUG) " + format; }
71                  public static void Write(string format, params object[] args) { xlogger.Write(CreateNewFormat(format), args); }
72                  public static void WriteLine(string format, params object[] args) { xlogger.WriteLine(CreateNewFormat(format), args); }
73              }
74              public static class Error
75              {
76 <                private static string CreateNewFormat(string format) { return "    " + CreateTimeStamp() + "(ERROR) " + format; }
76 >                private static string CreateNewFormat(string format) { return "    " + CreateTimeStamp() + "(FORCED ERROR) " + format; }
77                  public static void Write(string format, params object[] args) { xlogger.Write(CreateNewFormat(format), args); }
78                  public static void WriteLine(string format, params object[] args) { xlogger.WriteLine(CreateNewFormat(format), args); }
79              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines