You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by bo...@apache.org on 2011/11/04 06:39:04 UTC
svn commit: r1197406 -
/logging/log4net/trunk/src/Appender/ManagedColoredConsoleAppender.cs
Author: bodewig
Date: Fri Nov 4 05:39:04 2011
New Revision: 1197406
URL: http://svn.apache.org/viewvc?rev=1197406&view=rev
Log:
ConsoleColor is not in Mono 1.x
Modified:
logging/log4net/trunk/src/Appender/ManagedColoredConsoleAppender.cs
Modified: logging/log4net/trunk/src/Appender/ManagedColoredConsoleAppender.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Appender/ManagedColoredConsoleAppender.cs?rev=1197406&r1=1197405&r2=1197406&view=diff
==============================================================================
--- logging/log4net/trunk/src/Appender/ManagedColoredConsoleAppender.cs (original)
+++ logging/log4net/trunk/src/Appender/ManagedColoredConsoleAppender.cs Fri Nov 4 05:39:04 2011
@@ -23,6 +23,7 @@
#if !NETCF
#if !SSCLI
#if !CLI_1_0
+#if !MONO_1_0
// The original ColoredConsoleAppender was written before the .NET framework
// (and Mono) had built-in support for console colors so it was written using
@@ -337,6 +338,7 @@ namespace log4net.Appender
}
}
+#endif // !MONO_1_0
#endif // !CLI_1_0
#endif // !SSCLI
#endif // !NETCF