You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by dp...@apache.org on 2017/07/27 16:55:36 UTC
[07/22] logging-log4net git commit: Refactor: removed all trailing
whitespaces from all *.cs files
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/ILog.cs
----------------------------------------------------------------------
diff --git a/src/ILog.cs b/src/ILog.cs
index 89d01c7..d0e607c 100644
--- a/src/ILog.cs
+++ b/src/ILog.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -49,10 +49,10 @@ namespace log4net
/// <example>Simple example of logging messages
/// <code lang="C#">
/// ILog log = LogManager.GetLogger("application-log");
- ///
+ ///
/// log.Info("Application Start");
/// log.Debug("This is a debug message");
- ///
+ ///
/// if (log.IsDebugEnabled)
/// {
/// log.Debug("This is another debug message");
@@ -73,25 +73,25 @@ namespace log4net
/// <remarks>
/// <para>
/// This method first checks if this logger is <c>DEBUG</c>
- /// enabled by comparing the level of this logger with the
+ /// enabled by comparing the level of this logger with the
/// <see cref="Level.Debug"/> level. If this logger is
/// <c>DEBUG</c> enabled, then it converts the message object
/// (passed as parameter) to a string by invoking the appropriate
- /// <see cref="log4net.ObjectRenderer.IObjectRenderer"/>. It then
- /// proceeds to call all the registered appenders in this logger
- /// and also higher in the hierarchy depending on the value of
+ /// <see cref="log4net.ObjectRenderer.IObjectRenderer"/>. It then
+ /// proceeds to call all the registered appenders in this logger
+ /// and also higher in the hierarchy depending on the value of
/// the additivity flag.
/// </para>
- /// <para><b>WARNING</b> Note that passing an <see cref="Exception"/>
- /// to this method will print the name of the <see cref="Exception"/>
- /// but no stack trace. To print a stack trace use the
+ /// <para><b>WARNING</b> Note that passing an <see cref="Exception"/>
+ /// to this method will print the name of the <see cref="Exception"/>
+ /// but no stack trace. To print a stack trace use the
/// <see cref="M:Debug(object,Exception)"/> form instead.
/// </para>
/// </remarks>
/// <seealso cref="M:Debug(object,Exception)"/>
/// <seealso cref="IsDebugEnabled"/>
void Debug(object message);
-
+
/// <summary>
/// Log a message object with the <see cref="Level.Debug"/> level including
/// the stack trace of the <see cref="Exception"/> passed
@@ -128,7 +128,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Debug(object)"/>
/// <seealso cref="IsDebugEnabled"/>
- void DebugFormat(string format, params object[] args);
+ void DebugFormat(string format, params object[] args);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Debug"/> level.
@@ -149,7 +149,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Debug(object)"/>
/// <seealso cref="IsDebugEnabled"/>
- void DebugFormat(string format, object arg0);
+ void DebugFormat(string format, object arg0);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Debug"/> level.
@@ -171,7 +171,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Debug(object)"/>
/// <seealso cref="IsDebugEnabled"/>
- void DebugFormat(string format, object arg0, object arg1);
+ void DebugFormat(string format, object arg0, object arg1);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Debug"/> level.
@@ -194,7 +194,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Debug(object)"/>
/// <seealso cref="IsDebugEnabled"/>
- void DebugFormat(string format, object arg0, object arg1, object arg2);
+ void DebugFormat(string format, object arg0, object arg1, object arg2);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Debug"/> level.
@@ -225,18 +225,18 @@ namespace log4net
/// <remarks>
/// <para>
/// This method first checks if this logger is <c>INFO</c>
- /// enabled by comparing the level of this logger with the
+ /// enabled by comparing the level of this logger with the
/// <see cref="Level.Info"/> level. If this logger is
/// <c>INFO</c> enabled, then it converts the message object
/// (passed as parameter) to a string by invoking the appropriate
- /// <see cref="log4net.ObjectRenderer.IObjectRenderer"/>. It then
- /// proceeds to call all the registered appenders in this logger
- /// and also higher in the hierarchy depending on the value of the
+ /// <see cref="log4net.ObjectRenderer.IObjectRenderer"/>. It then
+ /// proceeds to call all the registered appenders in this logger
+ /// and also higher in the hierarchy depending on the value of the
/// additivity flag.
/// </para>
- /// <para><b>WARNING</b> Note that passing an <see cref="Exception"/>
- /// to this method will print the name of the <see cref="Exception"/>
- /// but no stack trace. To print a stack trace use the
+ /// <para><b>WARNING</b> Note that passing an <see cref="Exception"/>
+ /// to this method will print the name of the <see cref="Exception"/>
+ /// but no stack trace. To print a stack trace use the
/// <see cref="M:Info(object,Exception)"/> form instead.
/// </para>
/// </remarks>
@@ -244,7 +244,7 @@ namespace log4net
/// <seealso cref="M:Info(object,Exception)"/>
/// <seealso cref="IsInfoEnabled"/>
void Info(object message);
-
+
/// <summary>
/// Logs a message object with the <c>INFO</c> level including
/// the stack trace of the <see cref="Exception"/> passed
@@ -302,7 +302,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Info(object)"/>
/// <seealso cref="IsInfoEnabled"/>
- void InfoFormat(string format, object arg0);
+ void InfoFormat(string format, object arg0);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Info"/> level.
@@ -324,7 +324,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Info(object)"/>
/// <seealso cref="IsInfoEnabled"/>
- void InfoFormat(string format, object arg0, object arg1);
+ void InfoFormat(string format, object arg0, object arg1);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Info"/> level.
@@ -347,7 +347,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Info(object)"/>
/// <seealso cref="IsInfoEnabled"/>
- void InfoFormat(string format, object arg0, object arg1, object arg2);
+ void InfoFormat(string format, object arg0, object arg1, object arg2);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Info"/> level.
@@ -378,18 +378,18 @@ namespace log4net
/// <remarks>
/// <para>
/// This method first checks if this logger is <c>WARN</c>
- /// enabled by comparing the level of this logger with the
+ /// enabled by comparing the level of this logger with the
/// <see cref="Level.Warn"/> level. If this logger is
/// <c>WARN</c> enabled, then it converts the message object
/// (passed as parameter) to a string by invoking the appropriate
- /// <see cref="log4net.ObjectRenderer.IObjectRenderer"/>. It then
- /// proceeds to call all the registered appenders in this logger
- /// and also higher in the hierarchy depending on the value of the
+ /// <see cref="log4net.ObjectRenderer.IObjectRenderer"/>. It then
+ /// proceeds to call all the registered appenders in this logger
+ /// and also higher in the hierarchy depending on the value of the
/// additivity flag.
/// </para>
- /// <para><b>WARNING</b> Note that passing an <see cref="Exception"/>
- /// to this method will print the name of the <see cref="Exception"/>
- /// but no stack trace. To print a stack trace use the
+ /// <para><b>WARNING</b> Note that passing an <see cref="Exception"/>
+ /// to this method will print the name of the <see cref="Exception"/>
+ /// but no stack trace. To print a stack trace use the
/// <see cref="M:Warn(object,Exception)"/> form instead.
/// </para>
/// </remarks>
@@ -397,7 +397,7 @@ namespace log4net
/// <seealso cref="M:Warn(object,Exception)"/>
/// <seealso cref="IsWarnEnabled"/>
void Warn(object message);
-
+
/// <summary>
/// Log a message object with the <see cref="Level.Warn"/> level including
/// the stack trace of the <see cref="Exception"/> passed
@@ -455,7 +455,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Warn(object)"/>
/// <seealso cref="IsWarnEnabled"/>
- void WarnFormat(string format, object arg0);
+ void WarnFormat(string format, object arg0);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Warn"/> level.
@@ -477,7 +477,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Warn(object)"/>
/// <seealso cref="IsWarnEnabled"/>
- void WarnFormat(string format, object arg0, object arg1);
+ void WarnFormat(string format, object arg0, object arg1);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Warn"/> level.
@@ -500,7 +500,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Warn(object)"/>
/// <seealso cref="IsWarnEnabled"/>
- void WarnFormat(string format, object arg0, object arg1, object arg2);
+ void WarnFormat(string format, object arg0, object arg1, object arg2);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Warn"/> level.
@@ -532,18 +532,18 @@ namespace log4net
/// <remarks>
/// <para>
/// This method first checks if this logger is <c>ERROR</c>
- /// enabled by comparing the level of this logger with the
+ /// enabled by comparing the level of this logger with the
/// <see cref="Level.Error"/> level. If this logger is
/// <c>ERROR</c> enabled, then it converts the message object
/// (passed as parameter) to a string by invoking the appropriate
- /// <see cref="log4net.ObjectRenderer.IObjectRenderer"/>. It then
- /// proceeds to call all the registered appenders in this logger
- /// and also higher in the hierarchy depending on the value of the
+ /// <see cref="log4net.ObjectRenderer.IObjectRenderer"/>. It then
+ /// proceeds to call all the registered appenders in this logger
+ /// and also higher in the hierarchy depending on the value of the
/// additivity flag.
/// </para>
- /// <para><b>WARNING</b> Note that passing an <see cref="Exception"/>
- /// to this method will print the name of the <see cref="Exception"/>
- /// but no stack trace. To print a stack trace use the
+ /// <para><b>WARNING</b> Note that passing an <see cref="Exception"/>
+ /// to this method will print the name of the <see cref="Exception"/>
+ /// but no stack trace. To print a stack trace use the
/// <see cref="M:Error(object,Exception)"/> form instead.
/// </para>
/// </remarks>
@@ -608,7 +608,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Error(object)"/>
/// <seealso cref="IsErrorEnabled"/>
- void ErrorFormat(string format, object arg0);
+ void ErrorFormat(string format, object arg0);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Error"/> level.
@@ -630,7 +630,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Error(object)"/>
/// <seealso cref="IsErrorEnabled"/>
- void ErrorFormat(string format, object arg0, object arg1);
+ void ErrorFormat(string format, object arg0, object arg1);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Error"/> level.
@@ -653,7 +653,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Error(object)"/>
/// <seealso cref="IsErrorEnabled"/>
- void ErrorFormat(string format, object arg0, object arg1, object arg2);
+ void ErrorFormat(string format, object arg0, object arg1, object arg2);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Error"/> level.
@@ -684,18 +684,18 @@ namespace log4net
/// <remarks>
/// <para>
/// This method first checks if this logger is <c>FATAL</c>
- /// enabled by comparing the level of this logger with the
+ /// enabled by comparing the level of this logger with the
/// <see cref="Level.Fatal"/> level. If this logger is
/// <c>FATAL</c> enabled, then it converts the message object
/// (passed as parameter) to a string by invoking the appropriate
- /// <see cref="log4net.ObjectRenderer.IObjectRenderer"/>. It then
- /// proceeds to call all the registered appenders in this logger
- /// and also higher in the hierarchy depending on the value of the
+ /// <see cref="log4net.ObjectRenderer.IObjectRenderer"/>. It then
+ /// proceeds to call all the registered appenders in this logger
+ /// and also higher in the hierarchy depending on the value of the
/// additivity flag.
/// </para>
- /// <para><b>WARNING</b> Note that passing an <see cref="Exception"/>
- /// to this method will print the name of the <see cref="Exception"/>
- /// but no stack trace. To print a stack trace use the
+ /// <para><b>WARNING</b> Note that passing an <see cref="Exception"/>
+ /// to this method will print the name of the <see cref="Exception"/>
+ /// but no stack trace. To print a stack trace use the
/// <see cref="M:Fatal(object,Exception)"/> form instead.
/// </para>
/// </remarks>
@@ -703,7 +703,7 @@ namespace log4net
/// <seealso cref="M:Fatal(object,Exception)"/>
/// <seealso cref="IsFatalEnabled"/>
void Fatal(object message);
-
+
/// <summary>
/// Log a message object with the <see cref="Level.Fatal"/> level including
/// the stack trace of the <see cref="Exception"/> passed
@@ -761,7 +761,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Fatal(object)"/>
/// <seealso cref="IsFatalEnabled"/>
- void FatalFormat(string format, object arg0);
+ void FatalFormat(string format, object arg0);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Fatal"/> level.
@@ -783,7 +783,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Fatal(object)"/>
/// <seealso cref="IsFatalEnabled"/>
- void FatalFormat(string format, object arg0, object arg1);
+ void FatalFormat(string format, object arg0, object arg1);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Fatal"/> level.
@@ -806,7 +806,7 @@ namespace log4net
/// </remarks>
/// <seealso cref="M:Fatal(object)"/>
/// <seealso cref="IsFatalEnabled"/>
- void FatalFormat(string format, object arg0, object arg1, object arg2);
+ void FatalFormat(string format, object arg0, object arg1, object arg2);
/// <summary>
/// Logs a formatted message string with the <see cref="Level.Fatal"/> level.
@@ -854,7 +854,7 @@ namespace log4net
/// </para>
/// <code lang="C#">
/// if (log.IsDebugEnabled)
- /// {
+ /// {
/// log.Debug("This is entry number: " + i );
/// }
/// </code>
@@ -879,7 +879,7 @@ namespace log4net
/// </para>
/// <code lang="C#">
/// if (isDebugEnabled)
- /// {
+ /// {
/// log.Debug("This is entry number: " + i );
/// }
/// </code>
@@ -900,7 +900,7 @@ namespace log4net
/// <seealso cref="M:Debug(object)"/>
/// <seealso cref="M:DebugFormat(IFormatProvider, string, object[])"/>
bool IsDebugEnabled { get; }
-
+
/// <summary>
/// Checks if this logger is enabled for the <see cref="Level.Info"/> level.
/// </summary>
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/DynamicPatternLayout.cs
----------------------------------------------------------------------
diff --git a/src/Layout/DynamicPatternLayout.cs b/src/Layout/DynamicPatternLayout.cs
index 28174be..2bc93a9 100644
--- a/src/Layout/DynamicPatternLayout.cs
+++ b/src/Layout/DynamicPatternLayout.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -84,7 +84,7 @@ namespace log4net.Layout
/// <param name="pattern">the pattern to use</param>
/// <remarks>
/// </remarks>
- public DynamicPatternLayout (string pattern)
+ public DynamicPatternLayout (string pattern)
: base(pattern)
{
}
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/ExceptionLayout.cs
----------------------------------------------------------------------
diff --git a/src/Layout/ExceptionLayout.cs b/src/Layout/ExceptionLayout.cs
index 06c4509..f708199 100644
--- a/src/Layout/ExceptionLayout.cs
+++ b/src/Layout/ExceptionLayout.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -58,7 +58,7 @@ namespace log4net.Layout
}
#endregion
-
+
#region Implementation of IOptionHandler
/// <summary>
@@ -73,7 +73,7 @@ namespace log4net.Layout
/// This method does nothing as options become effective immediately.
/// </para>
/// </remarks>
- override public void ActivateOptions()
+ override public void ActivateOptions()
{
// nothing to do.
}
@@ -93,7 +93,7 @@ namespace log4net.Layout
/// The exception string is retrieved from <see cref="M:LoggingEvent.GetExceptionString()"/>.
/// </para>
/// </remarks>
- override public void Format(TextWriter writer, LoggingEvent loggingEvent)
+ override public void Format(TextWriter writer, LoggingEvent loggingEvent)
{
if (loggingEvent == null)
{
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/ILayout.cs
----------------------------------------------------------------------
diff --git a/src/Layout/ILayout.cs b/src/Layout/ILayout.cs
index 2bb6aef..2aeaf37 100644
--- a/src/Layout/ILayout.cs
+++ b/src/Layout/ILayout.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -67,7 +67,7 @@ namespace log4net.Layout
void Format(TextWriter writer, LoggingEvent loggingEvent);
/// <summary>
- /// The content type output by this layout.
+ /// The content type output by this layout.
/// </summary>
/// <value>The content type</value>
/// <remarks>
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/IRawLayout.cs
----------------------------------------------------------------------
diff --git a/src/Layout/IRawLayout.cs b/src/Layout/IRawLayout.cs
index 41cbf97..9c51af2 100644
--- a/src/Layout/IRawLayout.cs
+++ b/src/Layout/IRawLayout.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Layout2RawLayoutAdapter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Layout2RawLayoutAdapter.cs b/src/Layout/Layout2RawLayoutAdapter.cs
index 5b3707c..a6ac027 100644
--- a/src/Layout/Layout2RawLayoutAdapter.cs
+++ b/src/Layout/Layout2RawLayoutAdapter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -77,7 +77,7 @@ namespace log4net.Layout
/// Format the logging event as an object.
/// </para>
/// <para>
- /// Uses the <see cref="ILayout"/> object supplied to
+ /// Uses the <see cref="ILayout"/> object supplied to
/// the constructor to perform the formatting.
/// </para>
/// </remarks>
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/LayoutSkeleton.cs
----------------------------------------------------------------------
diff --git a/src/Layout/LayoutSkeleton.cs b/src/Layout/LayoutSkeleton.cs
index b373ee1..7d1a614 100644
--- a/src/Layout/LayoutSkeleton.cs
+++ b/src/Layout/LayoutSkeleton.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -108,13 +108,13 @@ namespace log4net.Layout
/// <remarks>
/// <para>
/// This is part of the <see cref="IOptionHandler"/> delayed object
- /// activation scheme. The <see cref="ActivateOptions"/> method must
+ /// 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.
+ /// object is in an undefined state and must not be used.
/// </para>
/// <para>
- /// If any of the configuration properties are modified then
+ /// If any of the configuration properties are modified then
/// <see cref="ActivateOptions"/> must be called again.
/// </para>
/// <para>
@@ -155,7 +155,7 @@ namespace log4net.Layout
}
/// <summary>
- /// The content type output by this layout.
+ /// The content type output by this layout.
/// </summary>
/// <value>The content type is <c>"text/plain"</c></value>
/// <remarks>
@@ -221,8 +221,8 @@ namespace log4net.Layout
/// value is <c>true</c>, this layout does not handle the exception.
/// </para>
/// </remarks>
- virtual public bool IgnoresException
- {
+ virtual public bool IgnoresException
+ {
get { return m_ignoresException; }
set { m_ignoresException = value; }
}
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/AppDomainPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/AppDomainPatternConverter.cs b/src/Layout/Pattern/AppDomainPatternConverter.cs
index 37369c4..0d73dcb 100644
--- a/src/Layout/Pattern/AppDomainPatternConverter.cs
+++ b/src/Layout/Pattern/AppDomainPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -35,7 +35,7 @@ namespace log4net.Layout.Pattern
/// </remarks>
/// <author>Daniel Cazzulino</author>
/// <author>Nicko Cadell</author>
- internal sealed class AppDomainPatternConverter : PatternLayoutConverter
+ internal sealed class AppDomainPatternConverter : PatternLayoutConverter
{
/// <summary>
/// Write the event appdomain name to the output
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/AspNetCachePatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/AspNetCachePatternConverter.cs b/src/Layout/Pattern/AspNetCachePatternConverter.cs
index 4452a5b..6cb0b23 100644
--- a/src/Layout/Pattern/AspNetCachePatternConverter.cs
+++ b/src/Layout/Pattern/AspNetCachePatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/AspNetContextPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/AspNetContextPatternConverter.cs b/src/Layout/Pattern/AspNetContextPatternConverter.cs
index 61a9e17..5f2a369 100644
--- a/src/Layout/Pattern/AspNetContextPatternConverter.cs
+++ b/src/Layout/Pattern/AspNetContextPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/AspNetPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/AspNetPatternConverter.cs b/src/Layout/Pattern/AspNetPatternConverter.cs
index 7201ecd..d10d097 100644
--- a/src/Layout/Pattern/AspNetPatternConverter.cs
+++ b/src/Layout/Pattern/AspNetPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -29,7 +29,7 @@ using log4net.Util;
namespace log4net.Layout.Pattern
{
/// <summary>
- /// Abstract class that provides access to the current HttpContext (<see cref="HttpContext.Current" />) that
+ /// Abstract class that provides access to the current HttpContext (<see cref="HttpContext.Current" />) that
/// derived classes need.
/// </summary>
/// <remarks>
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/AspNetRequestPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/AspNetRequestPatternConverter.cs b/src/Layout/Pattern/AspNetRequestPatternConverter.cs
index ca810f6..9b7c8a4 100644
--- a/src/Layout/Pattern/AspNetRequestPatternConverter.cs
+++ b/src/Layout/Pattern/AspNetRequestPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/AspNetSessionPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/AspNetSessionPatternConverter.cs b/src/Layout/Pattern/AspNetSessionPatternConverter.cs
index f50ad8a..f081a7f 100644
--- a/src/Layout/Pattern/AspNetSessionPatternConverter.cs
+++ b/src/Layout/Pattern/AspNetSessionPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/DatePatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/DatePatternConverter.cs b/src/Layout/Pattern/DatePatternConverter.cs
index 72d3df1..568731f 100644
--- a/src/Layout/Pattern/DatePatternConverter.cs
+++ b/src/Layout/Pattern/DatePatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -27,7 +27,7 @@ using log4net.DateFormatter;
namespace log4net.Layout.Pattern
{
/// <summary>
- /// Date pattern converter, uses a <see cref="IDateFormatter"/> to format
+ /// Date pattern converter, uses a <see cref="IDateFormatter"/> to format
/// the date of a <see cref="LoggingEvent"/>.
/// </summary>
/// <remarks>
@@ -35,7 +35,7 @@ namespace log4net.Layout.Pattern
/// Render the <see cref="LoggingEvent.TimeStamp"/> to the writer as a string.
/// </para>
/// <para>
- /// The value of the <see cref="log4net.Util.PatternConverter.Option"/> determines
+ /// The value of the <see cref="log4net.Util.PatternConverter.Option"/> determines
/// the formatting of the date. The following values are allowed:
/// <list type="definition">
/// <listheader>
@@ -45,31 +45,31 @@ namespace log4net.Layout.Pattern
/// <item>
/// <term>ISO8601</term>
/// <description>
- /// Uses the <see cref="Iso8601DateFormatter"/> formatter.
+ /// Uses the <see cref="Iso8601DateFormatter"/> formatter.
/// Formats using the <c>"yyyy-MM-dd HH:mm:ss,fff"</c> pattern.
/// </description>
/// </item>
/// <item>
/// <term>DATE</term>
/// <description>
- /// Uses the <see cref="DateTimeDateFormatter"/> formatter.
+ /// Uses the <see cref="DateTimeDateFormatter"/> formatter.
/// Formats using the <c>"dd MMM yyyy HH:mm:ss,fff"</c> for example, <c>"06 Nov 1994 15:49:37,459"</c>.
/// </description>
/// </item>
/// <item>
/// <term>ABSOLUTE</term>
/// <description>
- /// Uses the <see cref="AbsoluteTimeDateFormatter"/> formatter.
+ /// Uses the <see cref="AbsoluteTimeDateFormatter"/> formatter.
/// Formats using the <c>"HH:mm:ss,yyyy"</c> for example, <c>"15:49:37,459"</c>.
/// </description>
/// </item>
/// <item>
/// <term>other</term>
/// <description>
- /// Any other pattern string uses the <see cref="SimpleDateFormatter"/> formatter.
- /// This formatter passes the pattern string to the <see cref="DateTime"/>
+ /// Any other pattern string uses the <see cref="SimpleDateFormatter"/> formatter.
+ /// This formatter passes the pattern string to the <see cref="DateTime"/>
/// <see cref="M:DateTime.ToString(string)"/> method.
- /// For details on valid patterns see
+ /// For details on valid patterns see
/// <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationdatetimeformatinfoclasstopic.asp">DateTimeFormatInfo Class</a>.
/// </description>
/// </item>
@@ -92,7 +92,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
protected IDateFormatter m_dateFormatter;
-
+
#region Implementation of IOptionHandler
/// <summary>
@@ -101,13 +101,13 @@ namespace log4net.Layout.Pattern
/// <remarks>
/// <para>
/// This is part of the <see cref="IOptionHandler"/> delayed object
- /// activation scheme. The <see cref="ActivateOptions"/> method must
+ /// 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.
+ /// object is in an undefined state and must not be used.
/// </para>
/// <para>
- /// If any of the configuration properties are modified then
+ /// If any of the configuration properties are modified then
/// <see cref="ActivateOptions"/> must be called again.
/// </para>
/// </remarks>
@@ -133,15 +133,15 @@ namespace log4net.Layout.Pattern
}
else
{
- try
+ try
{
m_dateFormatter = new SimpleDateFormatter(dateFormatStr);
}
- catch (Exception e)
+ catch (Exception e)
{
LogLog.Error(declaringType, "Could not instantiate SimpleDateFormatter with ["+dateFormatStr+"]", e);
m_dateFormatter = new Iso8601DateFormatter();
- }
+ }
}
}
@@ -163,11 +163,11 @@ namespace log4net.Layout.Pattern
/// </remarks>
override protected void Convert(TextWriter writer, LoggingEvent loggingEvent)
{
- try
+ try
{
m_dateFormatter.FormatDate(loggingEvent.TimeStamp, writer);
}
- catch (Exception ex)
+ catch (Exception ex)
{
LogLog.Error(declaringType, "Error occurred while converting date.", ex);
}
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/ExceptionPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/ExceptionPatternConverter.cs b/src/Layout/Pattern/ExceptionPatternConverter.cs
index 06d3928..ba30628 100644
--- a/src/Layout/Pattern/ExceptionPatternConverter.cs
+++ b/src/Layout/Pattern/ExceptionPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -40,7 +40,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
- internal sealed class ExceptionPatternConverter : PatternLayoutConverter
+ internal sealed class ExceptionPatternConverter : PatternLayoutConverter
{
/// <summary>
/// Default constructor
@@ -87,7 +87,7 @@ namespace log4net.Layout.Pattern
/// </item>
/// <item>
/// <description>HelpLink</description>
- /// </item>
+ /// </item>
/// </list>
/// </remarks>
override protected void Convert(TextWriter writer, LoggingEvent loggingEvent)
@@ -99,7 +99,7 @@ namespace log4net.Layout.Pattern
case "message":
WriteObject(writer, loggingEvent.Repository, loggingEvent.ExceptionObject.Message);
break;
-#if !NETCF
+#if !NETCF
case "source":
WriteObject(writer, loggingEvent.Repository, loggingEvent.ExceptionObject.Source);
break;
@@ -114,7 +114,7 @@ namespace log4net.Layout.Pattern
case "helplink":
WriteObject(writer, loggingEvent.Repository, loggingEvent.ExceptionObject.HelpLink);
break;
-#endif
+#endif
default:
// do not output SystemInfo.NotAvailableText
break;
@@ -123,7 +123,7 @@ namespace log4net.Layout.Pattern
else
{
string exceptionString = loggingEvent.GetExceptionString();
- if (exceptionString != null && exceptionString.Length > 0)
+ if (exceptionString != null && exceptionString.Length > 0)
{
writer.WriteLine(exceptionString);
}
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/FileLocationPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/FileLocationPatternConverter.cs b/src/Layout/Pattern/FileLocationPatternConverter.cs
index bcec221..eaf968d 100644
--- a/src/Layout/Pattern/FileLocationPatternConverter.cs
+++ b/src/Layout/Pattern/FileLocationPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -35,7 +35,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
- internal sealed class FileLocationPatternConverter : PatternLayoutConverter
+ internal sealed class FileLocationPatternConverter : PatternLayoutConverter
{
/// <summary>
/// Write the caller location file name to the output
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/FullLocationPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/FullLocationPatternConverter.cs b/src/Layout/Pattern/FullLocationPatternConverter.cs
index 2a3beda..c627a6a 100644
--- a/src/Layout/Pattern/FullLocationPatternConverter.cs
+++ b/src/Layout/Pattern/FullLocationPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -34,7 +34,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
- internal sealed class FullLocationPatternConverter : PatternLayoutConverter
+ internal sealed class FullLocationPatternConverter : PatternLayoutConverter
{
/// <summary>
/// Write the caller location info to the output
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/IdentityPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/IdentityPatternConverter.cs b/src/Layout/Pattern/IdentityPatternConverter.cs
index fd84299..20059c4 100644
--- a/src/Layout/Pattern/IdentityPatternConverter.cs
+++ b/src/Layout/Pattern/IdentityPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -36,7 +36,7 @@ namespace log4net.Layout.Pattern
/// </remarks>
/// <author>Daniel Cazzulino</author>
/// <author>Nicko Cadell</author>
- internal sealed class IdentityPatternConverter : PatternLayoutConverter
+ internal sealed class IdentityPatternConverter : PatternLayoutConverter
{
/// <summary>
/// Writes the event identity to the output
@@ -45,7 +45,7 @@ namespace log4net.Layout.Pattern
/// <param name="loggingEvent">the event being logged</param>
/// <remarks>
/// <para>
- /// Writes the value of the <paramref name="loggingEvent"/>
+ /// Writes the value of the <paramref name="loggingEvent"/>
/// <see cref="LoggingEvent.Identity"/> to
/// the output <paramref name="writer"/>.
/// </para>
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/LevelPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/LevelPatternConverter.cs b/src/Layout/Pattern/LevelPatternConverter.cs
index 35227e0..bd9cea7 100644
--- a/src/Layout/Pattern/LevelPatternConverter.cs
+++ b/src/Layout/Pattern/LevelPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -35,7 +35,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
- internal sealed class LevelPatternConverter : PatternLayoutConverter
+ internal sealed class LevelPatternConverter : PatternLayoutConverter
{
/// <summary>
/// Write the event level to the output
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/LineLocationPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/LineLocationPatternConverter.cs b/src/Layout/Pattern/LineLocationPatternConverter.cs
index 2e54dfa..75e17f8 100644
--- a/src/Layout/Pattern/LineLocationPatternConverter.cs
+++ b/src/Layout/Pattern/LineLocationPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -35,7 +35,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
- internal sealed class LineLocationPatternConverter : PatternLayoutConverter
+ internal sealed class LineLocationPatternConverter : PatternLayoutConverter
{
/// <summary>
/// Write the caller location line number to the output
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/LoggerPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/LoggerPatternConverter.cs b/src/Layout/Pattern/LoggerPatternConverter.cs
index b56f7c9..acbcb47 100644
--- a/src/Layout/Pattern/LoggerPatternConverter.cs
+++ b/src/Layout/Pattern/LoggerPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -34,7 +34,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
- internal sealed class LoggerPatternConverter : NamedPatternConverter
+ internal sealed class LoggerPatternConverter : NamedPatternConverter
{
/// <summary>
/// Gets the fully qualified name of the logger
@@ -46,7 +46,7 @@ namespace log4net.Layout.Pattern
/// Returns the <see cref="LoggingEvent.LoggerName"/> of the <paramref name="loggingEvent"/>.
/// </para>
/// </remarks>
- override protected string GetFullyQualifiedName(LoggingEvent loggingEvent)
+ override protected string GetFullyQualifiedName(LoggingEvent loggingEvent)
{
return loggingEvent.LoggerName;
}
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/MessagePatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/MessagePatternConverter.cs b/src/Layout/Pattern/MessagePatternConverter.cs
index 43d13fe..3bd708e 100644
--- a/src/Layout/Pattern/MessagePatternConverter.cs
+++ b/src/Layout/Pattern/MessagePatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -35,7 +35,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
- internal sealed class MessagePatternConverter : PatternLayoutConverter
+ internal sealed class MessagePatternConverter : PatternLayoutConverter
{
/// <summary>
/// Writes the event message to the output
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/MethodLocationPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/MethodLocationPatternConverter.cs b/src/Layout/Pattern/MethodLocationPatternConverter.cs
index a0537ad..7193f9c 100644
--- a/src/Layout/Pattern/MethodLocationPatternConverter.cs
+++ b/src/Layout/Pattern/MethodLocationPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -35,7 +35,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
- internal sealed class MethodLocationPatternConverter : PatternLayoutConverter
+ internal sealed class MethodLocationPatternConverter : PatternLayoutConverter
{
/// <summary>
/// Write the method name to the output
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/NamedPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/NamedPatternConverter.cs b/src/Layout/Pattern/NamedPatternConverter.cs
index 8338706..a919aa9 100644
--- a/src/Layout/Pattern/NamedPatternConverter.cs
+++ b/src/Layout/Pattern/NamedPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -49,18 +49,18 @@ namespace log4net.Layout.Pattern
#region Implementation of IOptionHandler
/// <summary>
- /// Initialize the converter
+ /// Initialize the converter
/// </summary>
/// <remarks>
/// <para>
/// This is part of the <see cref="IOptionHandler"/> delayed object
- /// activation scheme. The <see cref="ActivateOptions"/> method must
+ /// 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.
+ /// object is in an undefined state and must not be used.
/// </para>
/// <para>
- /// If any of the configuration properties are modified then
+ /// If any of the configuration properties are modified then
/// <see cref="ActivateOptions"/> must be called again.
/// </para>
/// </remarks>
@@ -68,7 +68,7 @@ namespace log4net.Layout.Pattern
{
m_precision = 0;
- if (Option != null)
+ if (Option != null)
{
string optStr = Option.Trim();
if (optStr.Length > 0)
@@ -76,7 +76,7 @@ namespace log4net.Layout.Pattern
int precisionVal;
if (SystemInfo.TryParse(optStr, out precisionVal))
{
- if (precisionVal <= 0)
+ if (precisionVal <= 0)
{
LogLog.Error(declaringType, "NamedPatternConverter: Precision option (" + optStr + ") isn't a positive integer.");
}
@@ -84,7 +84,7 @@ namespace log4net.Layout.Pattern
{
m_precision = precisionVal;
}
- }
+ }
else
{
LogLog.Error(declaringType, "NamedPatternConverter: Precision option \"" + optStr + "\" not a decimal integer.");
@@ -110,7 +110,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
abstract protected string GetFullyQualifiedName(LoggingEvent loggingEvent);
-
+
/// <summary>
/// Convert the pattern to the rendered message
/// </summary>
@@ -127,7 +127,7 @@ namespace log4net.Layout.Pattern
{
writer.Write(name);
}
- else
+ else
{
int len = name.Length;
string trailingDot = string.Empty;
@@ -139,7 +139,7 @@ namespace log4net.Layout.Pattern
}
int end = name.LastIndexOf(DOT);
- for(int i = 1; end > 0 && i < m_precision; i++)
+ for(int i = 1; end > 0 && i < m_precision; i++)
{
end = name.LastIndexOf('.', end - 1);
}
@@ -151,7 +151,7 @@ namespace log4net.Layout.Pattern
{
writer.Write(name.Substring(end + 1, len - end - 1) + trailingDot);
}
- }
+ }
}
#region Private Static Fields
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/NdcPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/NdcPatternConverter.cs b/src/Layout/Pattern/NdcPatternConverter.cs
index 947fb12..f9072ba 100644
--- a/src/Layout/Pattern/NdcPatternConverter.cs
+++ b/src/Layout/Pattern/NdcPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -37,7 +37,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
- internal sealed class NdcPatternConverter : PatternLayoutConverter
+ internal sealed class NdcPatternConverter : PatternLayoutConverter
{
/// <summary>
/// Write the event NDC to the output
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/PatternLayoutConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/PatternLayoutConverter.cs b/src/Layout/Pattern/PatternLayoutConverter.cs
index f0ed36f..671ff96 100644
--- a/src/Layout/Pattern/PatternLayoutConverter.cs
+++ b/src/Layout/Pattern/PatternLayoutConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -29,7 +29,7 @@ using log4net.Repository;
namespace log4net.Layout.Pattern
{
/// <summary>
- /// Abstract class that provides the formatting functionality that
+ /// Abstract class that provides the formatting functionality that
/// derived classes need.
/// </summary>
/// <remarks>
@@ -45,8 +45,8 @@ namespace log4net.Layout.Pattern
/// <summary>
/// Initializes a new instance of the <see cref="PatternLayoutConverter" /> class.
/// </summary>
- protected PatternLayoutConverter()
- {
+ protected PatternLayoutConverter()
+ {
}
#endregion Protected Instance Constructors
@@ -69,8 +69,8 @@ namespace log4net.Layout.Pattern
/// value is <c>true</c>, this converter does not handle the exception.
/// </para>
/// </remarks>
- virtual public bool IgnoresException
- {
+ virtual public bool IgnoresException
+ {
get { return m_ignoresException; }
set { m_ignoresException = value; }
}
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/PropertyPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/PropertyPatternConverter.cs b/src/Layout/Pattern/PropertyPatternConverter.cs
index f2d9e37..bba4831 100644
--- a/src/Layout/Pattern/PropertyPatternConverter.cs
+++ b/src/Layout/Pattern/PropertyPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -42,7 +42,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
- internal sealed class PropertyPatternConverter : PatternLayoutConverter
+ internal sealed class PropertyPatternConverter : PatternLayoutConverter
{
/// <summary>
/// Write the property value to the output
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/RelativeTimePatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/RelativeTimePatternConverter.cs b/src/Layout/Pattern/RelativeTimePatternConverter.cs
index a5d3495..a43d822 100644
--- a/src/Layout/Pattern/RelativeTimePatternConverter.cs
+++ b/src/Layout/Pattern/RelativeTimePatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -34,7 +34,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
- internal sealed class RelativeTimePatternConverter : PatternLayoutConverter
+ internal sealed class RelativeTimePatternConverter : PatternLayoutConverter
{
/// <summary>
/// Write the relative time to the output
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/StackTracePatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/StackTracePatternConverter.cs b/src/Layout/Pattern/StackTracePatternConverter.cs
index 747b662..bf80dc2 100644
--- a/src/Layout/Pattern/StackTracePatternConverter.cs
+++ b/src/Layout/Pattern/StackTracePatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -39,20 +39,20 @@ namespace log4net.Layout.Pattern
internal class StackTracePatternConverter : PatternLayoutConverter, IOptionHandler
{
private int m_stackFrameLevel = 1;
-
+
/// <summary>
/// Initialize the converter
/// </summary>
/// <remarks>
/// <para>
/// This is part of the <see cref="IOptionHandler"/> delayed object
- /// activation scheme. The <see cref="ActivateOptions"/> method must
+ /// 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.
+ /// object is in an undefined state and must not be used.
/// </para>
/// <para>
- /// If any of the configuration properties are modified then
+ /// If any of the configuration properties are modified then
/// <see cref="ActivateOptions"/> must be called again.
/// </para>
/// </remarks>
@@ -60,14 +60,14 @@ namespace log4net.Layout.Pattern
{
if (Option == null)
return;
-
+
string optStr = Option.Trim();
if (optStr.Length != 0)
{
int stackLevelVal;
if (SystemInfo.TryParse(optStr, out stackLevelVal))
{
- if (stackLevelVal <= 0)
+ if (stackLevelVal <= 0)
{
LogLog.Error(declaringType, "StackTracePatternConverter: StackeFrameLevel option (" + optStr + ") isn't a positive integer.");
}
@@ -75,14 +75,14 @@ namespace log4net.Layout.Pattern
{
m_stackFrameLevel = stackLevelVal;
}
- }
+ }
else
{
LogLog.Error(declaringType, "StackTracePatternConverter: StackFrameLevel option \"" + optStr + "\" not a decimal integer.");
}
}
}
-
+
/// <summary>
/// Write the strack frames to the output
/// </summary>
@@ -101,7 +101,7 @@ namespace log4net.Layout.Pattern
LogLog.Error(declaringType, "loggingEvent.LocationInformation.StackFrames was null or empty.");
return;
}
-
+
int stackFrameIndex = m_stackFrameLevel - 1;
while (stackFrameIndex >= 0)
{
@@ -110,7 +110,7 @@ namespace log4net.Layout.Pattern
stackFrameIndex--;
continue;
}
-
+
StackFrameItem stackFrame = stackframes[stackFrameIndex];
writer.Write("{0}.{1}", stackFrame.ClassName, GetMethodInformation(stackFrame.Method));
if (stackFrameIndex > 0)
@@ -132,7 +132,7 @@ namespace log4net.Layout.Pattern
{
return method.Name;
}
-
+
#region Private Static Fields
/// <summary>
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/ThreadPatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/ThreadPatternConverter.cs b/src/Layout/Pattern/ThreadPatternConverter.cs
index c306a37..3d3a48f 100644
--- a/src/Layout/Pattern/ThreadPatternConverter.cs
+++ b/src/Layout/Pattern/ThreadPatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -34,7 +34,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
- internal sealed class ThreadPatternConverter : PatternLayoutConverter
+ internal sealed class ThreadPatternConverter : PatternLayoutConverter
{
/// <summary>
/// Write the ThreadName to the output
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/TypeNamePatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/TypeNamePatternConverter.cs b/src/Layout/Pattern/TypeNamePatternConverter.cs
index acca1cb..aa6e98b 100644
--- a/src/Layout/Pattern/TypeNamePatternConverter.cs
+++ b/src/Layout/Pattern/TypeNamePatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -34,7 +34,7 @@ namespace log4net.Layout.Pattern
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
- internal sealed class TypeNamePatternConverter : NamedPatternConverter
+ internal sealed class TypeNamePatternConverter : NamedPatternConverter
{
/// <summary>
/// Gets the fully qualified name of the class
@@ -46,18 +46,18 @@ namespace log4net.Layout.Pattern
/// Returns the <see cref="LocationInfo.ClassName"/> of the <paramref name="loggingEvent"/>.
/// </para>
/// </remarks>
- override protected string GetFullyQualifiedName(LoggingEvent loggingEvent)
+ override protected string GetFullyQualifiedName(LoggingEvent loggingEvent)
{
if (loggingEvent == null)
{
return string.Empty;
}
-
+
if (loggingEvent.LocationInformation == null)
{
return string.Empty;
}
-
+
return loggingEvent.LocationInformation.ClassName;
}
}
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/UserNamePatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/UserNamePatternConverter.cs b/src/Layout/Pattern/UserNamePatternConverter.cs
index 8c0518f..80bedc5 100644
--- a/src/Layout/Pattern/UserNamePatternConverter.cs
+++ b/src/Layout/Pattern/UserNamePatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -30,7 +30,7 @@ namespace log4net.Layout.Pattern
/// </summary>
/// <author>Douglas de la Torre</author>
/// <author>Nicko Cadell</author>
- internal sealed class UserNamePatternConverter : PatternLayoutConverter
+ internal sealed class UserNamePatternConverter : PatternLayoutConverter
{
/// <summary>
/// Convert the pattern to the rendered message
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Layout/Pattern/UtcDatePatternConverter.cs
----------------------------------------------------------------------
diff --git a/src/Layout/Pattern/UtcDatePatternConverter.cs b/src/Layout/Pattern/UtcDatePatternConverter.cs
index 41caf28..867ed07 100644
--- a/src/Layout/Pattern/UtcDatePatternConverter.cs
+++ b/src/Layout/Pattern/UtcDatePatternConverter.cs
@@ -1,10 +1,10 @@
#region Apache License
//
-// Licensed to the Apache Software Foundation (ASF) under one or more
+// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
+// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
+// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@@ -32,11 +32,11 @@ namespace log4net.Layout.Pattern
/// </summary>
/// <remarks>
/// <para>
- /// Date pattern converter, uses a <see cref="IDateFormatter"/> to format
+ /// Date pattern converter, uses a <see cref="IDateFormatter"/> to format
/// the date of a <see cref="LoggingEvent"/>.
/// </para>
/// <para>
- /// Uses a <see cref="IDateFormatter"/> to format the <see cref="LoggingEvent.TimeStamp"/>
+ /// Uses a <see cref="IDateFormatter"/> to format the <see cref="LoggingEvent.TimeStamp"/>
/// in Universal time.
/// </para>
/// <para>
@@ -65,11 +65,11 @@ namespace log4net.Layout.Pattern
/// <seealso cref="DatePatternConverter"/>
override protected void Convert(TextWriter writer, LoggingEvent loggingEvent)
{
- try
+ try
{
m_dateFormatter.FormatDate(loggingEvent.TimeStampUtc, writer);
}
- catch (Exception ex)
+ catch (Exception ex)
{
LogLog.Error(declaringType, "Error occurred while converting date.", ex);
}