Permalink
Browse files

Disable resolver logging.

  • Loading branch information...
1 parent b7b2598 commit 94d1f5e3c558515d8e332e2cae966ceae3fe0b47 @dgrunwald dgrunwald committed Sep 19, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/Libraries/NRefactory/ICSharpCode.NRefactory.CSharp/Resolver/Log.cs
@@ -37,19 +37,19 @@ static class Log
{
const bool logEnabled = false;
-// [Conditional(logEnabled ? "DEBUG" : "LOG_DISABLED")]
+ [Conditional(logEnabled ? "DEBUG" : "LOG_DISABLED")]
internal static void WriteLine(string text)
{
Debug.WriteLine(text);
}
-// [Conditional(logEnabled ? "DEBUG" : "LOG_DISABLED")]
+ [Conditional(logEnabled ? "DEBUG" : "LOG_DISABLED")]
internal static void WriteLine(string format, params object[] args)
{
Debug.WriteLine(format, args);
}
-// [Conditional(logEnabled ? "DEBUG" : "LOG_DISABLED")]
+ [Conditional(logEnabled ? "DEBUG" : "LOG_DISABLED")]
internal static void WriteCollection<T>(string text, IEnumerable<T> lines)
{
#if DEBUG
@@ -65,13 +65,13 @@ internal static void WriteCollection<T>(string text, IEnumerable<T> lines)
#endif
}
-// [Conditional(logEnabled ? "DEBUG" : "LOG_DISABLED")]
+ [Conditional(logEnabled ? "DEBUG" : "LOG_DISABLED")]
public static void Indent()
{
Debug.Indent();
}
-// [Conditional(logEnabled ? "DEBUG" : "LOG_DISABLED")]
+ [Conditional(logEnabled ? "DEBUG" : "LOG_DISABLED")]
public static void Unindent()
{
Debug.Unindent();

0 comments on commit 94d1f5e

Please sign in to comment.