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 ni...@apache.org on 2004/12/06 03:20:50 UTC

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

nicko       2004/12/05 18:20:50

  Modified:    src/Appender AnsiColorTerminalAppender.cs
                        AppenderCollection.cs ColoredConsoleAppender.cs
  Log:
  Updated doc comments
  
  Revision  Changes    Path
  1.3       +11 -11    logging-log4net/src/Appender/AnsiColorTerminalAppender.cs
  
  Index: AnsiColorTerminalAppender.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/Appender/AnsiColorTerminalAppender.cs,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AnsiColorTerminalAppender.cs	22 Nov 2004 02:09:06 -0000	1.2
  +++ AnsiColorTerminalAppender.cs	6 Dec 2004 02:20:50 -0000	1.3
  @@ -55,17 +55,17 @@
   	/// When configuring the ANSI colored terminal appender, a mapping should be
   	/// specified to map a logging level to a color. For example:
   	/// </para>
  -	/// <code>
  -	/// &lt;mapping&gt;
  -	/// 	&lt;level value="ERROR" /&gt;
  -	/// 	&lt;foreColor value="White" /&gt;
  -	/// 	&lt;backColor value="Red" /&gt;
  -	///     &lt;attributes value="Bright,Underscore" /&gt;
  -	/// &lt;/mapping&gt;
  -	/// &lt;mapping&gt;
  -	/// 	&lt;level value="DEBUG" /&gt;
  -	/// 	&lt;backColor value="Green" /&gt;
  -	/// &lt;/mapping&gt;
  +	/// <code lang="XML" escaped="true">
  +	/// <mapping>
  +	/// 	<level value="ERROR" />
  +	/// 	<foreColor value="White" />
  +	/// 	<backColor value="Red" />
  +	///     <attributes value="Bright,Underscore" />
  +	/// </mapping>
  +	/// <mapping>
  +	/// 	<level value="DEBUG" />
  +	/// 	<backColor value="Green" />
  +	/// </mapping>
   	/// </code>
   	/// <para>
   	/// The Level is the standard log4net logging level and ForeColor and BackColor can be any
  
  
  
  1.7       +6 -6      logging-log4net/src/Appender/AppenderCollection.cs
  
  Index: AppenderCollection.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/Appender/AppenderCollection.cs,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- AppenderCollection.cs	7 Jun 2004 01:02:39 -0000	1.6
  +++ AppenderCollection.cs	6 Dec 2004 02:20:50 -0000	1.7
  @@ -45,13 +45,13 @@
   			/// <summary>
   			/// Advances the enumerator to the next element in the collection.
   			/// </summary>
  -			/// <exception cref="InvalidOperationException">
  -			/// The collection was modified after the enumerator was created.
  -			/// </exception>
   			/// <returns>
   			/// <c>true</c> if the enumerator was successfully advanced to the next element; 
   			/// <c>false</c> if the enumerator has passed the end of the collection.
   			/// </returns>
  +			/// <exception cref="InvalidOperationException">
  +			/// The collection was modified after the enumerator was created.
  +			/// </exception>
   			bool MoveNext();
   
   			/// <summary>
  @@ -700,13 +700,13 @@
   			/// <summary>
   			/// Advances the enumerator to the next element in the collection.
   			/// </summary>
  -			/// <exception cref="InvalidOperationException">
  -			/// The collection was modified after the enumerator was created.
  -			/// </exception>
   			/// <returns>
   			/// <c>true</c> if the enumerator was successfully advanced to the next element; 
   			/// <c>false</c> if the enumerator has passed the end of the collection.
   			/// </returns>
  +			/// <exception cref="InvalidOperationException">
  +			/// The collection was modified after the enumerator was created.
  +			/// </exception>
   			public bool MoveNext()
   			{
   				if (m_version != m_collection.m_version)
  
  
  
  1.11      +10 -10    logging-log4net/src/Appender/ColoredConsoleAppender.cs
  
  Index: ColoredConsoleAppender.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/Appender/ColoredConsoleAppender.cs,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ColoredConsoleAppender.cs	22 Nov 2004 02:09:06 -0000	1.10
  +++ ColoredConsoleAppender.cs	6 Dec 2004 02:20:50 -0000	1.11
  @@ -64,16 +64,16 @@
   	/// When configuring the colored console appender, mapping should be
   	/// specified to map a logging level to a color. For example:
   	/// </para>
  -	/// <code>
  -	/// &lt;mapping&gt;
  -	/// 	&lt;level value="ERROR" /&gt;
  -	/// 	&lt;foreColor value="White" /&gt;
  -	/// 	&lt;backColor value="Red, HighIntensity" /&gt;
  -	/// &lt;/mapping&gt;
  -	/// &lt;mapping&gt;
  -	/// 	&lt;level value="DEBUG" /&gt;
  -	/// 	&lt;backColor value="Green" /&gt;
  -	/// &lt;/mapping&gt;
  +	/// <code lang="XML" excaped="true">
  +	/// <mapping>
  +	/// 	<level value="ERROR" />
  +	/// 	<foreColor value="White" />
  +	/// 	<backColor value="Red, HighIntensity" />
  +	/// </mapping>
  +	/// <mapping>
  +	/// 	<level value="DEBUG" />
  +	/// 	<backColor value="Green" />
  +	/// </mapping>
   	/// </code>
   	/// <para>
   	/// The Level is the standard log4net logging level and ForeColor and BackColor can be any