You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by dr...@apache.org on 2004/07/24 16:54:42 UTC

cvs commit: logging-log4net/src/Appender ColoredConsoleAppender.cs

drieseng    2004/07/24 07:54:42

  Modified:    src/Appender ColoredConsoleAppender.cs
  Log:
  do not include this class in log4net Core as it contains win32 specific code
  
  Revision  Changes    Path
  1.7       +5 -1      logging-log4net/src/Appender/ColoredConsoleAppender.cs
  
  Index: ColoredConsoleAppender.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/Appender/ColoredConsoleAppender.cs,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ColoredConsoleAppender.cs	1 Jun 2004 18:36:23 -0000	1.6
  +++ ColoredConsoleAppender.cs	24 Jul 2004 14:54:42 -0000	1.7
  @@ -24,6 +24,9 @@
   #if !MONO 
   // SSCLI 1.0 has no support for Win32 Console API's
   #if !SSCLI
  +// We don't want framework or platform specific code in the Core version of
  +// log4net
  +#if !CORE
   
   using System;
   using System.Globalization;
  @@ -425,6 +428,7 @@
   	}
   }
   
  +#endif // !CORE
   #endif // !SSCLI
   #endif // !MONO
  -#endif // !NETCF
  \ No newline at end of file
  +#endif // !NETCF