nicko 2004/05/30 04:10:07
Modified: src/Layout XMLLayout.cs XMLLayoutBase.cs
XmlLayoutSchemaLog4j.cs
Log:
Renamed loggingEvent.GetExceptionStrRep to GetExceptionString. Updated doc
comments
Revision Changes Path
1.3 +18 -2 logging-log4net/src/Layout/XMLLayout.cs
Index: XMLLayout.cs
===================================================================
RCS file: /home/cvs/logging-log4net/src/Layout/XMLLayout.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XMLLayout.cs 16 Feb 2004 02:10:53 -0000 1.2
+++ XMLLayout.cs 30 May 2004 11:10:07 -0000 1.3
@@ -123,8 +123,24 @@
#region Implementation of IOptionHandler
/// <summary>
- /// Builds a cache of the element names
+ /// Initialize layout options
/// </summary>
+ /// <remarks>
+ /// <para>
+ /// This is part of the <see cref="IOptionHandler"/> delayed
object
+ /// activation scheme. The <see cref="ActivateOptions"/> method
must
+ /// be called on this object after the configuration properties
have
+ /// been set. Until <see cref="ActivateOptions"/> is called this
+ /// object is in an undefined state and must not be used.
+ /// </para>
+ /// <para>
+ /// If any of the configuration properties are modified then
+ /// <see cref="ActivateOptions"/> must be called again.
+ /// </para>
+ /// <para>
+ /// Builds a cache of the element names
+ /// </para>
+ /// </remarks>
override public void ActivateOptions()
{
base.ActivateOptions();
@@ -218,7 +234,7 @@
}
}
- string exceptionStr = loggingEvent.GetExceptionStrRep();
+ string exceptionStr = loggingEvent.GetExceptionString();
if (exceptionStr != null && exceptionStr.Length > 0)
{
// Append the stack trace line
1.3 +14 -1 logging-log4net/src/Layout/XMLLayoutBase.cs
Index: XMLLayoutBase.cs
===================================================================
RCS file: /home/cvs/logging-log4net/src/Layout/XMLLayoutBase.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XMLLayoutBase.cs 16 Feb 2004 02:10:53 -0000 1.2
+++ XMLLayoutBase.cs 30 May 2004 11:10:07 -0000 1.3
@@ -109,8 +109,21 @@
#region Implementation of IOptionHandler
/// <summary>
- /// Does not do anything as options become effective
immediately.
+ /// Initialize layout options
/// </summary>
+ /// <remarks>
+ /// <para>
+ /// This is part of the <see cref="IOptionHandler"/> delayed
object
+ /// activation scheme. The <see cref="ActivateOptions"/> method
must
+ /// be called on this object after the configuration properties
have
+ /// been set. Until <see cref="ActivateOptions"/> is called this
+ /// object is in an undefined state and must not be used.
+ /// </para>
+ /// <para>
+ /// If any of the configuration properties are modified then
+ /// <see cref="ActivateOptions"/> must be called again.
+ /// </para>
+ /// </remarks>
override public void ActivateOptions()
{
// nothing to do
1.4 +1 -1 logging-log4net/src/Layout/XmlLayoutSchemaLog4j.cs
Index: XmlLayoutSchemaLog4j.cs
===================================================================
RCS file: /home/cvs/logging-log4net/src/Layout/XmlLayoutSchemaLog4j.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XmlLayoutSchemaLog4j.cs 23 Feb 2004 03:18:04 -0000 1.3
+++ XmlLayoutSchemaLog4j.cs 30 May 2004 11:10:07 -0000 1.4
@@ -215,7 +215,7 @@
}
}
- string exceptionStr = loggingEvent.GetExceptionStrRep();
+ string exceptionStr = loggingEvent.GetExceptionString();
if (exceptionStr != null && exceptionStr.Length > 0)
{
// Append the stack trace line