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/06/01 20:25:37 UTC
cvs commit: logging-log4net/src/Layout PatternLayout.cs
nicko 2004/06/01 11:25:37
Modified: src/Layout PatternLayout.cs
Log:
Updated doc comments
Revision Changes Path
1.6 +14 -0 logging-log4net/src/Layout/PatternLayout.cs
Index: PatternLayout.cs
===================================================================
RCS file: /home/cvs/logging-log4net/src/Layout/PatternLayout.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- PatternLayout.cs 30 May 2004 11:25:28 -0000 1.5
+++ PatternLayout.cs 1 Jun 2004 18:25:37 -0000 1.6
@@ -722,7 +722,14 @@
/// Constructs a PatternLayout using the DefaultConversionPattern
/// </summary>
/// <remarks>
+ /// <para>
/// The default pattern just produces the application supplied message.
+ /// </para>
+ /// <para>
+ /// Note to Inheritors: This constructor calls the virtual method
+ /// <see cref="CreatePatternParser"/>. If you override this method be
+ /// aware that it will be called before your is called constructor.
+ /// </para>
/// </remarks>
public PatternLayout() : this(DefaultConversionPattern)
{
@@ -732,6 +739,13 @@
/// Constructs a PatternLayout using the supplied conversion pattern
/// </summary>
/// <param name="pattern">the pattern to use</param>
+ /// <remarks>
+ /// <para>
+ /// Note to Inheritors: This constructor calls the virtual method
+ /// <see cref="CreatePatternParser"/>. If you override this method be
+ /// aware that it will be called before your is called constructor.
+ /// </para>
+ /// </remarks>
public PatternLayout(string pattern)
{
// By default we do not process the exception