/[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/06/03 20:40:36	269
+++ trunk/RomCheater.Logging/logger.cs	2012/06/05 10:26:49	291
@@ -335,10 +335,20 @@
             {
                 if (newline)
                 {
+                    if (args.Length == 0)
+                    {
+                        writer.Log.WriteLine(format.Replace("{", "{{").Replace("}", "}}"), args);
+                        return;
+                    }
                     writer.Log.WriteLine(format, args);
                 }
                 else
                 {
+                    if (args.Length == 0)
+                    {
+                        writer.Log.Write(format.Replace("{", "{{").Replace("}", "}}"), args);
+                        return;
+                    }
                     writer.Log.Write(format, args);
                 }
             }

 

  ViewVC Help
Powered by ViewVC 1.1.22