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 23:02:13 UTC
[32/50] [abbrv] 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/Core/DefaultRepositorySelector.cs
----------------------------------------------------------------------
diff --git a/src/Core/DefaultRepositorySelector.cs b/src/Core/DefaultRepositorySelector.cs
index 970f296..866ad3b 100644
--- a/src/Core/DefaultRepositorySelector.cs
+++ b/src/Core/DefaultRepositorySelector.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
@@ -66,7 +66,7 @@ namespace log4net.Core
/// holds the newly created <see cref="ILoggerRepository"/>.
/// </para>
/// </remarks>
- public event LoggerRepositoryCreationEventHandler LoggerRepositoryCreatedEvent
+ public event LoggerRepositoryCreationEventHandler LoggerRepositoryCreatedEvent
{
add { m_loggerRepositoryCreatedEvent += value; }
remove { m_loggerRepositoryCreatedEvent -= value; }
@@ -117,17 +117,17 @@ namespace log4net.Core
/// <param name="repositoryAssembly">The assembly use to lookup the <see cref="ILoggerRepository"/>.</param>
/// <remarks>
/// <para>
- /// The type of the <see cref="ILoggerRepository"/> created and the repository
- /// to create can be overridden by specifying the <see cref="log4net.Config.RepositoryAttribute"/>
+ /// The type of the <see cref="ILoggerRepository"/> created and the repository
+ /// to create can be overridden by specifying the <see cref="log4net.Config.RepositoryAttribute"/>
/// attribute on the <paramref name="repositoryAssembly"/>.
/// </para>
/// <para>
- /// The default values are to use the <see cref="log4net.Repository.Hierarchy.Hierarchy"/>
+ /// The default values are to use the <see cref="log4net.Repository.Hierarchy.Hierarchy"/>
/// implementation of the <see cref="ILoggerRepository"/> interface and to use the
/// <see cref="AssemblyName.Name"/> as the name of the repository.
/// </para>
/// <para>
- /// The <see cref="ILoggerRepository"/> created will be automatically configured using
+ /// The <see cref="ILoggerRepository"/> created will be automatically configured using
/// any <see cref="log4net.Config.ConfiguratorAttribute"/> attributes defined on
/// the <paramref name="repositoryAssembly"/>.
/// </para>
@@ -151,7 +151,7 @@ namespace log4net.Core
/// <remarks>
/// <para>
/// Returns the named repository. If <paramref name="repositoryName"/> is <c>null</c>
- /// a <see cref="ArgumentNullException"/> is thrown. If the repository
+ /// a <see cref="ArgumentNullException"/> is thrown. If the repository
/// does not exist a <see cref="LogException"/> is thrown.
/// </para>
/// <para>
@@ -180,7 +180,7 @@ namespace log4net.Core
}
/// <summary>
- /// Create a new repository for the assembly specified
+ /// Create a new repository for the assembly specified
/// </summary>
/// <param name="repositoryAssembly">the assembly to use to create the repository to associate with the <see cref="ILoggerRepository"/>.</param>
/// <param name="repositoryType">The type of repository to create, must implement <see cref="ILoggerRepository"/>.</param>
@@ -194,23 +194,23 @@ namespace log4net.Core
/// <para>
/// The type of the <see cref="ILoggerRepository"/> created and
/// the repository to create can be overridden by specifying the
- /// <see cref="log4net.Config.RepositoryAttribute"/> attribute on the
- /// <paramref name="repositoryAssembly"/>. The default values are to use the
- /// <paramref name="repositoryType"/> implementation of the
+ /// <see cref="log4net.Config.RepositoryAttribute"/> attribute on the
+ /// <paramref name="repositoryAssembly"/>. The default values are to use the
+ /// <paramref name="repositoryType"/> implementation of the
/// <see cref="ILoggerRepository"/> interface and to use the
/// <see cref="AssemblyName.Name"/> as the name of the repository.
/// </para>
/// <para>
/// The <see cref="ILoggerRepository"/> created will be automatically
- /// configured using any <see cref="log4net.Config.ConfiguratorAttribute"/>
+ /// configured using any <see cref="log4net.Config.ConfiguratorAttribute"/>
/// attributes defined on the <paramref name="repositoryAssembly"/>.
/// </para>
/// <para>
/// If a repository for the <paramref name="repositoryAssembly"/> already exists
- /// that repository will be returned. An error will not be raised and that
+ /// that repository will be returned. An error will not be raised and that
/// repository may be of a different type to that specified in <paramref name="repositoryType"/>.
/// Also the <see cref="log4net.Config.RepositoryAttribute"/> attribute on the
- /// assembly may be used to override the repository type specified in
+ /// assembly may be used to override the repository type specified in
/// <paramref name="repositoryType"/>.
/// </para>
/// </remarks>
@@ -237,23 +237,23 @@ namespace log4net.Core
/// <para>
/// The type of the <see cref="ILoggerRepository"/> created and
/// the repository to create can be overridden by specifying the
- /// <see cref="log4net.Config.RepositoryAttribute"/> attribute on the
- /// <paramref name="repositoryAssembly"/>. The default values are to use the
- /// <paramref name="repositoryType"/> implementation of the
+ /// <see cref="log4net.Config.RepositoryAttribute"/> attribute on the
+ /// <paramref name="repositoryAssembly"/>. The default values are to use the
+ /// <paramref name="repositoryType"/> implementation of the
/// <see cref="ILoggerRepository"/> interface and to use the
/// <see cref="AssemblyName.Name"/> as the name of the repository.
/// </para>
/// <para>
/// The <see cref="ILoggerRepository"/> created will be automatically
- /// configured using any <see cref="log4net.Config.ConfiguratorAttribute"/>
+ /// configured using any <see cref="log4net.Config.ConfiguratorAttribute"/>
/// attributes defined on the <paramref name="repositoryAssembly"/>.
/// </para>
/// <para>
/// If a repository for the <paramref name="repositoryAssembly"/> already exists
- /// that repository will be returned. An error will not be raised and that
+ /// that repository will be returned. An error will not be raised and that
/// repository may be of a different type to that specified in <paramref name="repositoryType"/>.
/// Also the <see cref="log4net.Config.RepositoryAttribute"/> attribute on the
- /// assembly may be used to override the repository type specified in
+ /// assembly may be used to override the repository type specified in
/// <paramref name="repositoryType"/>.
/// </para>
/// </remarks>
@@ -438,7 +438,7 @@ namespace log4net.Core
/// <remarks>
/// <para>
/// Test if a named repository exists. Use <see cref="M:CreateRepository(string, Type)"/>
- /// to create a new repository and <see cref="M:GetRepository(string)"/> to retrieve
+ /// to create a new repository and <see cref="M:GetRepository(string)"/> to retrieve
/// a repository.
/// </para>
/// </remarks>
@@ -481,11 +481,11 @@ namespace log4net.Core
/// <param name="repositoryTarget">The repository that the repository is aliased to.</param>
/// <remarks>
/// <para>
- /// The repository specified will be aliased to the repository when created.
+ /// The repository specified will be aliased to the repository when created.
/// The repository must not already exist.
/// </para>
/// <para>
- /// When the repository is created it must utilize the same repository type as
+ /// When the repository is created it must utilize the same repository type as
/// the repository it is aliased to, otherwise the aliasing will fail.
/// </para>
/// </remarks>
@@ -494,40 +494,40 @@ namespace log4net.Core
/// <para>-or-</para>
/// <para><paramref name="repositoryTarget" /> is <see langword="null" />.</para>
/// </exception>
- public void AliasRepository(string repositoryAlias, ILoggerRepository repositoryTarget)
+ public void AliasRepository(string repositoryAlias, ILoggerRepository repositoryTarget)
{
- if (repositoryAlias == null)
+ if (repositoryAlias == null)
{
throw new ArgumentNullException("repositoryAlias");
}
- if (repositoryTarget == null)
+ if (repositoryTarget == null)
{
throw new ArgumentNullException("repositoryTarget");
}
- lock(this)
+ lock(this)
{
// Check if the alias is already set
- if (m_alias2repositoryMap.Contains(repositoryAlias))
+ if (m_alias2repositoryMap.Contains(repositoryAlias))
{
// Check if this is a duplicate of the current alias
- if (repositoryTarget != ((ILoggerRepository)m_alias2repositoryMap[repositoryAlias]))
+ if (repositoryTarget != ((ILoggerRepository)m_alias2repositoryMap[repositoryAlias]))
{
// Cannot redefine existing alias
throw new InvalidOperationException("Repository [" + repositoryAlias + "] is already aliased to repository [" + ((ILoggerRepository)m_alias2repositoryMap[repositoryAlias]).Name + "]. Aliases cannot be redefined.");
}
}
// Check if the alias is already mapped to a repository
- else if (m_name2repositoryMap.Contains(repositoryAlias))
+ else if (m_name2repositoryMap.Contains(repositoryAlias))
{
// Check if this is a duplicate of the current mapping
- if ( repositoryTarget != ((ILoggerRepository)m_name2repositoryMap[repositoryAlias]) )
+ if ( repositoryTarget != ((ILoggerRepository)m_name2repositoryMap[repositoryAlias]) )
{
// Cannot define alias for already mapped repository
throw new InvalidOperationException("Repository [" + repositoryAlias + "] already exists and cannot be aliased to repository [" + repositoryTarget.Name + "].");
}
}
- else
+ else
{
// Set the alias
m_alias2repositoryMap[repositoryAlias] = repositoryTarget;
@@ -548,10 +548,10 @@ namespace log4net.Core
/// Raises the <see cref="LoggerRepositoryCreatedEvent"/> event.
/// </para>
/// </remarks>
- protected virtual void OnLoggerRepositoryCreatedEvent(ILoggerRepository repository)
+ protected virtual void OnLoggerRepositoryCreatedEvent(ILoggerRepository repository)
{
LoggerRepositoryCreationEventHandler handler = m_loggerRepositoryCreatedEvent;
- if (handler != null)
+ if (handler != null)
{
handler(this, new LoggerRepositoryCreationEventArgs(repository));
}
@@ -586,7 +586,7 @@ namespace log4net.Core
try
{
- // Look for the RepositoryAttribute on the assembly
+ // Look for the RepositoryAttribute on the assembly
#if NETSTANDARD1_3
object[] repositoryAttributes = assembly.GetCustomAttributes(typeof(log4net.Config.RepositoryAttribute)).ToArray();
#else
@@ -738,7 +738,7 @@ namespace log4net.Core
if (watchRepositoryConfigFile)
{
- // As we are going to watch the config file it is required to resolve it as a
+ // As we are going to watch the config file it is required to resolve it as a
// physical file system path pass that in a FileInfo object to the Configurator
FileInfo repositoryConfigFileInfo = null;
try
@@ -762,7 +762,7 @@ namespace log4net.Core
}
else
{
- // As we are not going to watch the config file it is easiest to just resolve it as a
+ // As we are not going to watch the config file it is easiest to just resolve it as a
// URI and pass that to the Configurator
Uri repositoryConfigUri = null;
try
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/ErrorCode.cs
----------------------------------------------------------------------
diff --git a/src/Core/ErrorCode.cs b/src/Core/ErrorCode.cs
index 9107a24..d8b2813 100644
--- a/src/Core/ErrorCode.cs
+++ b/src/Core/ErrorCode.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/Core/ExceptionEvaluator.cs
----------------------------------------------------------------------
diff --git a/src/Core/ExceptionEvaluator.cs b/src/Core/ExceptionEvaluator.cs
index 967c37e..1dee516 100644
--- a/src/Core/ExceptionEvaluator.cs
+++ b/src/Core/ExceptionEvaluator.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
@@ -31,7 +31,7 @@ namespace log4net.Core
/// <para>
/// This evaluator will trigger if the type of the Exception
/// passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
- /// is equal to a Type in <see cref="ExceptionType"/>. ///
+ /// is equal to a Type in <see cref="ExceptionType"/>. ///
/// </para>
/// </remarks>
/// <author>Drew Schaeffer</author>
@@ -95,8 +95,8 @@ namespace log4net.Core
/// Is this <paramref name="loggingEvent"/> the triggering event?
/// </summary>
/// <param name="loggingEvent">The event to check</param>
- /// <returns>This method returns <c>true</c>, if the logging event Exception
- /// Type is <see cref="ExceptionType"/>.
+ /// <returns>This method returns <c>true</c>, if the logging event Exception
+ /// Type is <see cref="ExceptionType"/>.
/// Otherwise it returns <c>false</c></returns>
/// <remarks>
/// <para>
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/IAppenderAttachable.cs
----------------------------------------------------------------------
diff --git a/src/Core/IAppenderAttachable.cs b/src/Core/IAppenderAttachable.cs
index 9c350c1..416fd28 100644
--- a/src/Core/IAppenderAttachable.cs
+++ b/src/Core/IAppenderAttachable.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
@@ -57,7 +57,7 @@ namespace log4net.Core
/// <para>
/// Gets a collection of attached appenders.
/// If there are no attached appenders the
- /// implementation should return an empty
+ /// implementation should return an empty
/// collection rather than <c>null</c>.
/// </para>
/// </remarks>
@@ -116,6 +116,6 @@ namespace log4net.Core
/// <see cref="IAppender.Close"/> on the appender removed.
/// </para>
/// </remarks>
- IAppender RemoveAppender(string name);
+ IAppender RemoveAppender(string name);
}
}
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/IErrorHandler.cs
----------------------------------------------------------------------
diff --git a/src/Core/IErrorHandler.cs b/src/Core/IErrorHandler.cs
index 763e518..81a1141 100644
--- a/src/Core/IErrorHandler.cs
+++ b/src/Core/IErrorHandler.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 @@ namespace log4net.Core
/// <remarks>
/// <para>
/// Error handling is a particularly tedious to get right because by
- /// definition errors are hard to predict and to reproduce.
+ /// definition errors are hard to predict and to reproduce.
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
@@ -35,7 +35,7 @@ namespace log4net.Core
public interface IErrorHandler
{
/// <summary>
- /// Handles the error and information about the error condition is passed as
+ /// Handles the error and information about the error condition is passed as
/// a parameter.
/// </summary>
/// <param name="message">The message associated with the error.</param>
@@ -43,7 +43,7 @@ namespace log4net.Core
/// <param name="errorCode">The error code associated with the error.</param>
/// <remarks>
/// <para>
- /// Handles the error and information about the error condition is passed as
+ /// Handles the error and information about the error condition is passed as
/// a parameter.
/// </para>
/// </remarks>
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/IFixingRequired.cs
----------------------------------------------------------------------
diff --git a/src/Core/IFixingRequired.cs b/src/Core/IFixingRequired.cs
index 9f05b14..a079ca3 100644
--- a/src/Core/IFixingRequired.cs
+++ b/src/Core/IFixingRequired.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,14 +27,14 @@ namespace log4net.Core
/// <remarks>
/// <para>
/// Interface that indicates that the object requires fixing before it
- /// can be taken outside the context of the appender's
+ /// can be taken outside the context of the appender's
/// <see cref="log4net.Appender.IAppender.DoAppend"/> method.
/// </para>
/// <para>
- /// When objects that implement this interface are stored
+ /// When objects that implement this interface are stored
/// in the context properties maps <see cref="log4net.GlobalContext"/>
/// <see cref="log4net.GlobalContext.Properties"/> and <see cref="log4net.ThreadContext"/>
- /// <see cref="log4net.ThreadContext.Properties"/> are fixed
+ /// <see cref="log4net.ThreadContext.Properties"/> are fixed
/// (see <see cref="LoggingEvent.Fix"/>) the <see cref="GetFixedObject"/>
/// method will be called.
/// </para>
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/ILogger.cs
----------------------------------------------------------------------
diff --git a/src/Core/ILogger.cs b/src/Core/ILogger.cs
index bbb152c..1f5d033 100644
--- a/src/Core/ILogger.cs
+++ b/src/Core/ILogger.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
@@ -70,9 +70,9 @@ namespace log4net.Core
/// </para>
/// </remarks>
void Log(Type callerStackBoundaryDeclaringType, Level level, object message, Exception exception);
-
+
/// <summary>
- /// This is the most generic printing method that is intended to be used
+ /// This is the most generic printing method that is intended to be used
/// by wrappers.
/// </summary>
/// <param name="logEvent">The event being logged.</param>
@@ -98,7 +98,7 @@ namespace log4net.Core
bool IsEnabledFor(Level level);
/// <summary>
- /// Gets the <see cref="ILoggerRepository"/> where this
+ /// Gets the <see cref="ILoggerRepository"/> where this
/// <c>Logger</c> instance is attached to.
/// </summary>
/// <value>
@@ -106,7 +106,7 @@ namespace log4net.Core
/// </value>
/// <remarks>
/// <para>
- /// Gets the <see cref="ILoggerRepository"/> where this
+ /// Gets the <see cref="ILoggerRepository"/> where this
/// <c>Logger</c> instance is attached to.
/// </para>
/// </remarks>
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/ILoggerWrapper.cs
----------------------------------------------------------------------
diff --git a/src/Core/ILoggerWrapper.cs b/src/Core/ILoggerWrapper.cs
index 735e368..16bd92b 100644
--- a/src/Core/ILoggerWrapper.cs
+++ b/src/Core/ILoggerWrapper.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
@@ -48,7 +48,7 @@ namespace log4net.Core
/// <remarks>
/// <para>
/// The <see cref="ILogger"/> object that in implementing this
- /// object. The <c>Logger</c> object may not
+ /// object. The <c>Logger</c> object may not
/// be the same object as this object because of logger decorators.
/// This gets the actual underlying objects that is used to process
/// the log events.
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/IOptionHandler.cs
----------------------------------------------------------------------
diff --git a/src/Core/IOptionHandler.cs b/src/Core/IOptionHandler.cs
index cdc4682..60a8c8c 100644
--- a/src/Core/IOptionHandler.cs
+++ b/src/Core/IOptionHandler.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
@@ -31,8 +31,8 @@ namespace log4net.Core
/// related options that remain ambiguous until all are set.
/// </para>
/// <para>
- /// If a component implements this interface then the <see cref="ActivateOptions"/> method
- /// must be called by the container after its all the configured properties have been set
+ /// If a component implements this interface then the <see cref="ActivateOptions"/> method
+ /// must be called by the container after its all the configured properties have been set
/// and before the component can be used.
/// </para>
/// </remarks>
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/IRepositorySelector.cs
----------------------------------------------------------------------
diff --git a/src/Core/IRepositorySelector.cs b/src/Core/IRepositorySelector.cs
index 55e393a..38f9531 100644
--- a/src/Core/IRepositorySelector.cs
+++ b/src/Core/IRepositorySelector.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
@@ -44,7 +44,7 @@ namespace log4net.Core
/// </summary>
/// <remarks>
/// <para>
- /// A <see cref="IRepositorySelector.LoggerRepositoryCreatedEvent"/>
+ /// A <see cref="IRepositorySelector.LoggerRepositoryCreatedEvent"/>
/// event is raised every time a <see cref="ILoggerRepository"/> is created.
/// </para>
/// </remarks>
@@ -93,8 +93,8 @@ namespace log4net.Core
/// </summary>
/// <remarks>
/// <para>
- /// The <see cref="LogManager"/> uses a <see cref="IRepositorySelector"/>
- /// to specify the policy for selecting the correct <see cref="ILoggerRepository"/>
+ /// The <see cref="LogManager"/> uses a <see cref="IRepositorySelector"/>
+ /// to specify the policy for selecting the correct <see cref="ILoggerRepository"/>
/// to return to the caller.
/// </para>
/// </remarks>
@@ -175,7 +175,7 @@ namespace log4net.Core
/// <remarks>
/// <para>
/// Test if a named repository exists. Use <see cref="M:CreateRepository(Assembly, Type)"/>
- /// to create a new repository and <see cref="M:GetRepository(Assembly)"/> to retrieve
+ /// to create a new repository and <see cref="M:GetRepository(Assembly)"/> to retrieve
/// a repository.
/// </para>
/// </remarks>
@@ -185,7 +185,7 @@ namespace log4net.Core
/// Gets an array of all currently defined repositories.
/// </summary>
/// <returns>
- /// An array of the <see cref="ILoggerRepository"/> instances created by
+ /// An array of the <see cref="ILoggerRepository"/> instances created by
/// this <see cref="IRepositorySelector"/>.</returns>
/// <remarks>
/// <para>
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/ITriggeringEventEvaluator.cs
----------------------------------------------------------------------
diff --git a/src/Core/ITriggeringEventEvaluator.cs b/src/Core/ITriggeringEventEvaluator.cs
index baa7536..9ab52eb 100644
--- a/src/Core/ITriggeringEventEvaluator.cs
+++ b/src/Core/ITriggeringEventEvaluator.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/Core/Level.cs
----------------------------------------------------------------------
diff --git a/src/Core/Level.cs b/src/Core/Level.cs
index 713918d..a083156 100644
--- a/src/Core/Level.cs
+++ b/src/Core/Level.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,8 +30,8 @@ namespace log4net.Core
/// Each <see cref="LoggingEvent"/> has an associated <see cref="Level"/>.
/// </para>
/// <para>
- /// Levels have a numeric <see cref="Level.Value"/> that defines the relative
- /// ordering between levels. Two Levels with the same <see cref="Level.Value"/>
+ /// Levels have a numeric <see cref="Level.Value"/> that defines the relative
+ /// ordering between levels. Two Levels with the same <see cref="Level.Value"/>
/// are deemed to be equivalent.
/// </para>
/// <para>
@@ -46,7 +46,7 @@ namespace log4net.Core
/// <see cref="Level.Info"/>, but this can be changed by reconfiguring the level map.
/// </para>
/// <para>
- /// Each level has a <see cref="DisplayName"/> in addition to its <see cref="Name"/>. The
+ /// Each level has a <see cref="DisplayName"/> in addition to its <see cref="Name"/>. The
/// <see cref="DisplayName"/> is the string that is written into the output log. By default
/// the display name is the same as the level name, but this can be used to alias levels
/// or to localize the log output.
@@ -99,7 +99,7 @@ namespace log4net.Core
/// the specified level name and value.
/// </para>
/// </remarks>
- public Level(int level, string levelName, string displayName)
+ public Level(int level, string levelName, string displayName)
{
if (levelName == null)
{
@@ -191,7 +191,7 @@ namespace log4net.Core
#region Override implementation of Object
/// <summary>
- /// Returns the <see cref="string" /> representation of the current
+ /// Returns the <see cref="string" /> representation of the current
/// <see cref="Level" />.
/// </summary>
/// <returns>
@@ -202,7 +202,7 @@ namespace log4net.Core
/// Returns the level <see cref="Name"/>.
/// </para>
/// </remarks>
- override public string ToString()
+ override public string ToString()
{
return m_levelName;
}
@@ -214,7 +214,7 @@ namespace log4net.Core
/// <returns><c>true</c> if the objects are equal.</returns>
/// <remarks>
/// <para>
- /// Compares the levels of <see cref="Level" /> instances, and
+ /// Compares the levels of <see cref="Level" /> instances, and
/// defers to base class if the target object is not a <see cref="Level" />
/// instance.
/// </para>
@@ -238,7 +238,7 @@ namespace log4net.Core
/// <returns>A hash code for the current <see cref="Level" />.</returns>
/// <remarks>
/// <para>
- /// Returns a hash code suitable for use in hashing algorithms and data
+ /// Returns a hash code suitable for use in hashing algorithms and data
/// structures like a hash table.
/// </para>
/// <para>
@@ -255,12 +255,12 @@ namespace log4net.Core
#region Implementation of IComparable
/// <summary>
- /// Compares this instance to a specified object and returns an
+ /// Compares this instance to a specified object and returns an
/// indication of their relative values.
/// </summary>
/// <param name="r">A <see cref="Level"/> instance or <see langword="null" /> to compare with this instance.</param>
/// <returns>
- /// A 32-bit signed integer that indicates the relative order of the
+ /// A 32-bit signed integer that indicates the relative order of the
/// values compared. The return value has these meanings:
/// <list type="table">
/// <listheader>
@@ -287,7 +287,7 @@ namespace log4net.Core
/// </returns>
/// <remarks>
/// <para>
- /// <paramref name="r" /> must be an instance of <see cref="Level" />
+ /// <paramref name="r" /> must be an instance of <see cref="Level" />
/// or <see langword="null" />; otherwise, an exception is thrown.
/// </para>
/// </remarks>
@@ -307,13 +307,13 @@ namespace log4net.Core
#region Operators
/// <summary>
- /// Returns a value indicating whether a specified <see cref="Level" />
+ /// Returns a value indicating whether a specified <see cref="Level" />
/// is greater than another specified <see cref="Level" />.
/// </summary>
/// <param name="l">A <see cref="Level" /></param>
/// <param name="r">A <see cref="Level" /></param>
/// <returns>
- /// <c>true</c> if <paramref name="l" /> is greater than
+ /// <c>true</c> if <paramref name="l" /> is greater than
/// <paramref name="r" />; otherwise, <c>false</c>.
/// </returns>
/// <remarks>
@@ -327,13 +327,13 @@ namespace log4net.Core
}
/// <summary>
- /// Returns a value indicating whether a specified <see cref="Level" />
+ /// Returns a value indicating whether a specified <see cref="Level" />
/// is less than another specified <see cref="Level" />.
/// </summary>
/// <param name="l">A <see cref="Level" /></param>
/// <param name="r">A <see cref="Level" /></param>
/// <returns>
- /// <c>true</c> if <paramref name="l" /> is less than
+ /// <c>true</c> if <paramref name="l" /> is less than
/// <paramref name="r" />; otherwise, <c>false</c>.
/// </returns>
/// <remarks>
@@ -347,13 +347,13 @@ namespace log4net.Core
}
/// <summary>
- /// Returns a value indicating whether a specified <see cref="Level" />
+ /// Returns a value indicating whether a specified <see cref="Level" />
/// is greater than or equal to another specified <see cref="Level" />.
/// </summary>
/// <param name="l">A <see cref="Level" /></param>
/// <param name="r">A <see cref="Level" /></param>
/// <returns>
- /// <c>true</c> if <paramref name="l" /> is greater than or equal to
+ /// <c>true</c> if <paramref name="l" /> is greater than or equal to
/// <paramref name="r" />; otherwise, <c>false</c>.
/// </returns>
/// <remarks>
@@ -367,13 +367,13 @@ namespace log4net.Core
}
/// <summary>
- /// Returns a value indicating whether a specified <see cref="Level" />
+ /// Returns a value indicating whether a specified <see cref="Level" />
/// is less than or equal to another specified <see cref="Level" />.
/// </summary>
/// <param name="l">A <see cref="Level" /></param>
/// <param name="r">A <see cref="Level" /></param>
/// <returns>
- /// <c>true</c> if <paramref name="l" /> is less than or equal to
+ /// <c>true</c> if <paramref name="l" /> is less than or equal to
/// <paramref name="r" />; otherwise, <c>false</c>.
/// </returns>
/// <remarks>
@@ -387,13 +387,13 @@ namespace log4net.Core
}
/// <summary>
- /// Returns a value indicating whether two specified <see cref="Level" />
+ /// Returns a value indicating whether two specified <see cref="Level" />
/// objects have the same value.
/// </summary>
/// <param name="l">A <see cref="Level" /> or <see langword="null" />.</param>
/// <param name="r">A <see cref="Level" /> or <see langword="null" />.</param>
/// <returns>
- /// <c>true</c> if the value of <paramref name="l" /> is the same as the
+ /// <c>true</c> if the value of <paramref name="l" /> is the same as the
/// value of <paramref name="r" />; otherwise, <c>false</c>.
/// </returns>
/// <remarks>
@@ -414,7 +414,7 @@ namespace log4net.Core
}
/// <summary>
- /// Returns a value indicating whether two specified <see cref="Level" />
+ /// Returns a value indicating whether two specified <see cref="Level" />
/// objects have different values.
/// </summary>
/// <param name="l">A <see cref="Level" /> or <see langword="null" />.</param>
@@ -443,7 +443,7 @@ namespace log4net.Core
/// <param name="l">The first <see cref="Level"/> to compare.</param>
/// <param name="r">The second <see cref="Level"/> to compare.</param>
/// <returns>
- /// A 32-bit signed integer that indicates the relative order of the
+ /// A 32-bit signed integer that indicates the relative order of the
/// two values compared. The return value has these meanings:
/// <list type="table">
/// <listheader>
@@ -503,31 +503,31 @@ namespace log4net.Core
public readonly static Level Off = new Level(int.MaxValue, "OFF");
/// <summary>
- /// The <see cref="Emergency" /> level designates very severe error events.
+ /// The <see cref="Emergency" /> level designates very severe error events.
/// System unusable, emergencies.
/// </summary>
public readonly static Level Log4Net_Debug = new Level(120000, "log4net:DEBUG");
/// <summary>
- /// The <see cref="Emergency" /> level designates very severe error events.
+ /// The <see cref="Emergency" /> level designates very severe error events.
/// System unusable, emergencies.
/// </summary>
public readonly static Level Emergency = new Level(120000, "EMERGENCY");
/// <summary>
- /// The <see cref="Fatal" /> level designates very severe error events
+ /// The <see cref="Fatal" /> level designates very severe error events
/// that will presumably lead the application to abort.
/// </summary>
public readonly static Level Fatal = new Level(110000, "FATAL");
/// <summary>
- /// The <see cref="Alert" /> level designates very severe error events.
+ /// The <see cref="Alert" /> level designates very severe error events.
/// Take immediate action, alerts.
/// </summary>
public readonly static Level Alert = new Level(100000, "ALERT");
/// <summary>
- /// The <see cref="Critical" /> level designates very severe error events.
+ /// The <see cref="Critical" /> level designates very severe error events.
/// Critical condition, critical.
/// </summary>
public readonly static Level Critical = new Level(90000, "CRITICAL");
@@ -538,61 +538,61 @@ namespace log4net.Core
public readonly static Level Severe = new Level(80000, "SEVERE");
/// <summary>
- /// The <see cref="Error" /> level designates error events that might
+ /// The <see cref="Error" /> level designates error events that might
/// still allow the application to continue running.
/// </summary>
public readonly static Level Error = new Level(70000, "ERROR");
/// <summary>
- /// The <see cref="Warn" /> level designates potentially harmful
+ /// The <see cref="Warn" /> level designates potentially harmful
/// situations.
/// </summary>
public readonly static Level Warn = new Level(60000, "WARN");
/// <summary>
- /// The <see cref="Notice" /> level designates informational messages
+ /// The <see cref="Notice" /> level designates informational messages
/// that highlight the progress of the application at the highest level.
/// </summary>
public readonly static Level Notice = new Level(50000, "NOTICE");
/// <summary>
- /// The <see cref="Info" /> level designates informational messages that
+ /// The <see cref="Info" /> level designates informational messages that
/// highlight the progress of the application at coarse-grained level.
/// </summary>
public readonly static Level Info = new Level(40000, "INFO");
/// <summary>
- /// The <see cref="Debug" /> level designates fine-grained informational
+ /// The <see cref="Debug" /> level designates fine-grained informational
/// events that are most useful to debug an application.
/// </summary>
public readonly static Level Debug = new Level(30000, "DEBUG");
/// <summary>
- /// The <see cref="Fine" /> level designates fine-grained informational
+ /// The <see cref="Fine" /> level designates fine-grained informational
/// events that are most useful to debug an application.
/// </summary>
public readonly static Level Fine = new Level(30000, "FINE");
/// <summary>
- /// The <see cref="Trace" /> level designates fine-grained informational
+ /// The <see cref="Trace" /> level designates fine-grained informational
/// events that are most useful to debug an application.
/// </summary>
public readonly static Level Trace = new Level(20000, "TRACE");
/// <summary>
- /// The <see cref="Finer" /> level designates fine-grained informational
+ /// The <see cref="Finer" /> level designates fine-grained informational
/// events that are most useful to debug an application.
/// </summary>
public readonly static Level Finer = new Level(20000, "FINER");
/// <summary>
- /// The <see cref="Verbose" /> level designates fine-grained informational
+ /// The <see cref="Verbose" /> level designates fine-grained informational
/// events that are most useful to debug an application.
/// </summary>
public readonly static Level Verbose = new Level(10000, "VERBOSE");
/// <summary>
- /// The <see cref="Finest" /> level designates fine-grained informational
+ /// The <see cref="Finest" /> level designates fine-grained informational
/// events that are most useful to debug an application.
/// </summary>
public readonly static Level Finest = new Level(10000, "FINEST");
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/LevelCollection.cs
----------------------------------------------------------------------
diff --git a/src/Core/LevelCollection.cs b/src/Core/LevelCollection.cs
index d51bd0d..25a3b54 100644
--- a/src/Core/LevelCollection.cs
+++ b/src/Core/LevelCollection.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
@@ -47,7 +47,7 @@ namespace log4net.Core
/// Advances the enumerator to the next element in the collection.
/// </summary>
/// <returns>
- /// <c>true</c> if the enumerator was successfully advanced to the next element;
+ /// <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">
@@ -72,7 +72,7 @@ namespace log4net.Core
private int m_version = 0;
#endregion
-
+
#region Static Wrappers
/// <summary>
@@ -101,7 +101,7 @@ namespace log4net.Core
{
m_array = new Level[DEFAULT_CAPACITY];
}
-
+
/// <summary>
/// Initializes a new instance of the <c>LevelCollection</c> class
/// that has the specified initial capacity.
@@ -146,12 +146,12 @@ namespace log4net.Core
m_array = new Level[col.Count];
AddRange(col);
}
-
+
/// <summary>
/// Type visible only to our subclasses
/// Used to access protected constructor
/// </summary>
- protected internal enum Tag
+ protected internal enum Tag
{
/// <summary>
/// A value
@@ -168,7 +168,7 @@ namespace log4net.Core
m_array = null;
}
#endregion
-
+
#region Operations (type-safe ICollection)
/// <summary>
@@ -201,8 +201,8 @@ namespace log4net.Core
{
throw new System.ArgumentException("Destination array was not long enough.");
}
-
- Array.Copy(m_array, 0, array, start, m_count);
+
+ Array.Copy(m_array, 0, array, start, m_count);
}
/// <summary>
@@ -223,7 +223,7 @@ namespace log4net.Core
}
#endregion
-
+
#region Operations (type-safe IList)
/// <summary>
@@ -240,13 +240,13 @@ namespace log4net.Core
get
{
ValidateIndex(index); // throws
- return m_array[index];
+ return m_array[index];
}
set
{
ValidateIndex(index); // throws
- ++m_version;
- m_array[index] = value;
+ ++m_version;
+ m_array[index] = value;
}
}
@@ -267,7 +267,7 @@ namespace log4net.Core
return m_count++;
}
-
+
/// <summary>
/// Removes all elements from the <c>LevelCollection</c>.
/// </summary>
@@ -277,7 +277,7 @@ namespace log4net.Core
m_array = new Level[DEFAULT_CAPACITY];
m_count = 0;
}
-
+
/// <summary>
/// Creates a shallow copy of the <see cref="LevelCollection"/>.
/// </summary>
@@ -315,7 +315,7 @@ namespace log4net.Core
/// </summary>
/// <param name="item">The <see cref="Level"/> to locate in the <c>LevelCollection</c>.</param>
/// <returns>
- /// The zero-based index of the first occurrence of <paramref name="item"/>
+ /// The zero-based index of the first occurrence of <paramref name="item"/>
/// in the entire <c>LevelCollection</c>, if found; otherwise, -1.
/// </returns>
public virtual int IndexOf(Level item)
@@ -343,7 +343,7 @@ namespace log4net.Core
public virtual void Insert(int index, Level item)
{
ValidateIndex(index, true); // throws
-
+
if (m_count == m_array.Length)
{
EnsureCapacity(m_count + 1);
@@ -367,13 +367,13 @@ namespace log4net.Core
/// The specified <see cref="Level"/> was not found in the <c>LevelCollection</c>.
/// </exception>
public virtual void Remove(Level item)
- {
+ {
int i = IndexOf(item);
if (i < 0)
{
throw new System.ArgumentException("Cannot remove the specified item because it was not found in the specified Collection.");
}
-
+
++m_version;
RemoveAt(i);
}
@@ -390,16 +390,16 @@ namespace log4net.Core
public virtual void RemoveAt(int index)
{
ValidateIndex(index); // throws
-
+
m_count--;
if (index < m_count)
{
Array.Copy(m_array, index + 1, m_array, index, m_count - index);
}
-
+
// We can't set the deleted entry equal to null, because it might be a value type.
- // Instead, we'll create an empty single-element array of the right type and copy it
+ // Instead, we'll create an empty single-element array of the right type and copy it
// over the entry we want to erase.
Level[] temp = new Level[1];
Array.Copy(temp, 0, m_array, m_count, 1);
@@ -427,7 +427,7 @@ namespace log4net.Core
#endregion
#region Operations (type-safe IEnumerable)
-
+
/// <summary>
/// Returns an enumerator that can iterate through the <c>LevelCollection</c>.
/// </summary>
@@ -440,15 +440,15 @@ namespace log4net.Core
#endregion
#region Public helpers (just to mimic some nice features of ArrayList)
-
+
/// <summary>
/// Gets or sets the number of elements the <c>LevelCollection</c> can contain.
/// </summary>
public virtual int Capacity
{
- get
- {
- return m_array.Length;
+ get
+ {
+ return m_array.Length;
}
set
{
@@ -484,7 +484,7 @@ namespace log4net.Core
{
EnsureCapacity(m_count + x.Count);
}
-
+
Array.Copy(x.m_array, 0, m_array, m_count, x.Count);
m_count += x.Count;
m_version++;
@@ -530,7 +530,7 @@ namespace log4net.Core
return m_count;
}
-
+
/// <summary>
/// Sets the capacity to the actual number of elements.
/// </summary>
@@ -579,7 +579,7 @@ namespace log4net.Core
}
#endregion
-
+
#region Implementation (ICollection)
void ICollection.CopyTo(Array array, int start)
@@ -646,15 +646,15 @@ namespace log4net.Core
private sealed class Enumerator : IEnumerator, ILevelCollectionEnumerator
{
#region Implementation (data)
-
+
private readonly LevelCollection m_collection;
private int m_index;
private int m_version;
-
+
#endregion
-
+
#region Construction
-
+
/// <summary>
/// Initializes a new instance of the <c>Enumerator</c> class.
/// </summary>
@@ -665,11 +665,11 @@ namespace log4net.Core
m_index = -1;
m_version = tc.m_version;
}
-
+
#endregion
-
+
#region Operations (type-safe IEnumerator)
-
+
/// <summary>
/// Gets the current element in the collection.
/// </summary>
@@ -682,7 +682,7 @@ namespace log4net.Core
/// Advances the enumerator to the next element in the collection.
/// </summary>
/// <returns>
- /// <c>true</c> if the enumerator was successfully advanced to the next element;
+ /// <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">
@@ -708,14 +708,14 @@ namespace log4net.Core
}
#endregion
-
+
#region Implementation (IEnumerator)
-
+
object IEnumerator.Current
{
get { return this.Current; }
}
-
+
#endregion
}
@@ -802,7 +802,7 @@ namespace log4net.Core
}
public override void Remove(Level x)
- {
+ {
throw new NotSupportedException("This is a Read Only Collection and can not be modified");
}
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/LevelEvaluator.cs
----------------------------------------------------------------------
diff --git a/src/Core/LevelEvaluator.cs b/src/Core/LevelEvaluator.cs
index 35706df..6acb51d 100644
--- a/src/Core/LevelEvaluator.cs
+++ b/src/Core/LevelEvaluator.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.Core
/// </para>
/// </remarks>
/// <author>Nicko Cadell</author>
- public class LevelEvaluator : ITriggeringEventEvaluator
+ public class LevelEvaluator : ITriggeringEventEvaluator
{
/// <summary>
/// The threshold for triggering
@@ -110,7 +110,7 @@ namespace log4net.Core
/// </summary>
/// <param name="loggingEvent">The event to check</param>
/// <returns>This method returns <c>true</c>, if the event level
- /// is equal or higher than the <see cref="Threshold"/>.
+ /// is equal or higher than the <see cref="Threshold"/>.
/// Otherwise it returns <c>false</c></returns>
/// <remarks>
/// <para>
@@ -120,14 +120,14 @@ namespace log4net.Core
/// level.
/// </para>
/// </remarks>
- public bool IsTriggeringEvent(LoggingEvent loggingEvent)
+ public bool IsTriggeringEvent(LoggingEvent loggingEvent)
{
if (loggingEvent == null)
{
throw new ArgumentNullException("loggingEvent");
}
- return (loggingEvent.Level >= m_threshold);
+ return (loggingEvent.Level >= m_threshold);
}
}
}
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/LevelMap.cs
----------------------------------------------------------------------
diff --git a/src/Core/LevelMap.cs b/src/Core/LevelMap.cs
index d458533..77b0f76 100644
--- a/src/Core/LevelMap.cs
+++ b/src/Core/LevelMap.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
@@ -192,7 +192,7 @@ namespace log4net.Core
/// <summary>
/// Lookup a named level from the map
/// </summary>
- /// <param name="defaultLevel">the name of the level to lookup is taken from this level.
+ /// <param name="defaultLevel">the name of the level to lookup is taken from this level.
/// If the level is not set on the map then this level is added</param>
/// <returns>the level in the map with the name specified</returns>
/// <remarks>
@@ -202,7 +202,7 @@ namespace log4net.Core
/// argument.
/// </para>
/// <para>
- /// If no level with the specified name is found then the
+ /// If no level with the specified name is found then the
/// <paramref name="defaultLevel"/> argument is added to the level map
/// and returned.
/// </para>
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/LocationInfo.cs
----------------------------------------------------------------------
diff --git a/src/Core/LocationInfo.cs b/src/Core/LocationInfo.cs
index 55fd8ad..99e27db 100644
--- a/src/Core/LocationInfo.cs
+++ b/src/Core/LocationInfo.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.Core
/// a call stack. The caller's information is then extracted from this stack.
/// </para>
/// <para>
- /// The <c>System.Diagnostics.StackTrace</c> class is not supported on the
+ /// The <c>System.Diagnostics.StackTrace</c> class is not supported on the
/// .NET Compact Framework 1.0 therefore caller location information is not
/// available on that framework.
/// </para>
@@ -42,15 +42,15 @@ namespace log4net.Core
/// The <c>System.Diagnostics.StackTrace</c> class has this to say about Release builds:
/// </para>
/// <para>
- /// "StackTrace information will be most informative with Debug build configurations.
- /// By default, Debug builds include debug symbols, while Release builds do not. The
- /// debug symbols contain most of the file, method name, line number, and column
- /// information used in constructing StackFrame and StackTrace objects. StackTrace
- /// might not report as many method calls as expected, due to code transformations
+ /// "StackTrace information will be most informative with Debug build configurations.
+ /// By default, Debug builds include debug symbols, while Release builds do not. The
+ /// debug symbols contain most of the file, method name, line number, and column
+ /// information used in constructing StackFrame and StackTrace objects. StackTrace
+ /// might not report as many method calls as expected, due to code transformations
/// that occur during optimization."
/// </para>
/// <para>
- /// This means that in a Release build the caller information may be incomplete or may
+ /// This means that in a Release build the caller information may be incomplete or may
/// not exist at all! Therefore caller location information cannot be relied upon in a Release build.
/// </para>
/// </remarks>
@@ -74,7 +74,7 @@ namespace log4net.Core
/// class based on the current thread.
/// </para>
/// </remarks>
- public LocationInfo(Type callerStackBoundaryDeclaringType)
+ public LocationInfo(Type callerStackBoundaryDeclaringType)
{
// Initialize all fields
m_className = NA;
@@ -90,7 +90,7 @@ namespace log4net.Core
{
StackTrace st = new StackTrace(true);
int frameIndex = 0;
-
+
// skip frames not from fqnOfCallingClass
while (frameIndex < st.FrameCount)
{
@@ -119,13 +119,13 @@ namespace log4net.Core
int adjustedFrameCount = st.FrameCount - frameIndex;
ArrayList stackFramesList = new ArrayList(adjustedFrameCount);
m_stackFrames = new StackFrameItem[adjustedFrameCount];
- for (int i=frameIndex; i < st.FrameCount; i++)
+ for (int i=frameIndex; i < st.FrameCount; i++)
{
stackFramesList.Add(new StackFrameItem(st.GetFrame(i)));
}
-
+
stackFramesList.CopyTo(m_stackFrames, 0);
-
+
// now frameIndex is the first 'user' caller frame
StackFrame locationFrame = st.GetFrame(frameIndex);
@@ -151,7 +151,7 @@ namespace log4net.Core
}
catch(System.Security.SecurityException)
{
- // This security exception will occur if the caller does not have
+ // This security exception will occur if the caller does not have
// some undefined set of SecurityPermission flags.
LogLog.Debug(declaringType, "Security exception while trying to get caller stack frame. Error Ignored. Location Information Not Available.");
}
@@ -178,7 +178,7 @@ namespace log4net.Core
m_fileName = fileName;
m_lineNumber = lineNumber;
m_methodName = methodName;
- m_fullInfo = m_className + '.' + m_methodName + '(' + m_fileName +
+ m_fullInfo = m_className + '.' + m_methodName + '(' + m_fileName
':' + m_lineNumber + ')';
}
@@ -187,16 +187,16 @@ namespace log4net.Core
#region Public Instance Properties
/// <summary>
- /// Gets the fully qualified class name of the caller making the logging
+ /// Gets the fully qualified class name of the caller making the logging
/// request.
/// </summary>
/// <value>
- /// The fully qualified class name of the caller making the logging
+ /// The fully qualified class name of the caller making the logging
/// request.
/// </value>
/// <remarks>
/// <para>
- /// Gets the fully qualified class name of the caller making the logging
+ /// Gets the fully qualified class name of the caller making the logging
/// request.
/// </para>
/// </remarks>
@@ -270,7 +270,7 @@ namespace log4net.Core
{
get { return m_fullInfo; }
}
-
+
#if !(NETCF || NETSTANDARD1_3)
/// <summary>
/// Gets the stack frames from the stack trace of the caller making the log request
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/LogException.cs
----------------------------------------------------------------------
diff --git a/src/Core/LogException.cs b/src/Core/LogException.cs
index e7f243d..caa7935 100644
--- a/src/Core/LogException.cs
+++ b/src/Core/LogException.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.Core
#if NETSTANDARD1_3
public class LogException : Exception
#else
- public class LogException : ApplicationException
+ public class LogException : ApplicationException
#endif
{
#region Public Instance Constructors
@@ -69,10 +69,10 @@ namespace log4net.Core
/// the specified message.
/// </para>
/// </remarks>
- public LogException(String message) : base(message)
+ public LogException(String message) : base(message)
{
}
-
+
/// <summary>
/// Constructor
/// </summary>
@@ -84,7 +84,7 @@ namespace log4net.Core
/// with the specified message and inner exception.
/// </para>
/// </remarks>
- public LogException(String message, Exception innerException) : base(message, innerException)
+ public LogException(String message, Exception innerException) : base(message, innerException)
{
}
@@ -100,11 +100,11 @@ namespace log4net.Core
/// <param name="context">The <see cref="StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <remarks>
/// <para>
- /// Initializes a new instance of the <see cref="LogException" /> class
+ /// Initializes a new instance of the <see cref="LogException" /> class
/// with serialized data.
/// </para>
/// </remarks>
- protected LogException(SerializationInfo info, StreamingContext context) : base(info, context)
+ protected LogException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
#endif
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8a5b4204/src/Core/LogImpl.cs
----------------------------------------------------------------------
diff --git a/src/Core/LogImpl.cs b/src/Core/LogImpl.cs
index 64c2edf..9afed22 100644
--- a/src/Core/LogImpl.cs
+++ b/src/Core/LogImpl.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
@@ -90,7 +90,7 @@ namespace log4net.Core
/// </item>
/// </list>
/// <para>
- /// The values for these levels and their semantic meanings can be changed by
+ /// The values for these levels and their semantic meanings can be changed by
/// configuring the <see cref="ILoggerRepository.LevelMap"/> for the repository.
/// </para>
/// </remarks>
@@ -149,23 +149,23 @@ namespace log4net.Core
/// <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
/// <c>DEBUG</c> 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 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
+ /// <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>
- virtual public void Debug(object message)
+ virtual public void Debug(object message)
{
Logger.Log(ThisDeclaringType, m_levelDebug, message, null);
}
@@ -186,7 +186,7 @@ namespace log4net.Core
/// </para>
/// </remarks>
/// <seealso cref="M:Debug(object)"/>
- virtual public void Debug(object message, Exception exception)
+ virtual public void Debug(object message, Exception exception)
{
Logger.Log(ThisDeclaringType, m_levelDebug, message, exception);
}
@@ -213,7 +213,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void DebugFormat(string format, params object[] args)
+ virtual public void DebugFormat(string format, params object[] args)
{
if (IsDebugEnabled)
{
@@ -243,7 +243,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void DebugFormat(string format, object arg0)
+ virtual public void DebugFormat(string format, object arg0)
{
if (IsDebugEnabled)
{
@@ -274,7 +274,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void DebugFormat(string format, object arg0, object arg1)
+ virtual public void DebugFormat(string format, object arg0, object arg1)
{
if (IsDebugEnabled)
{
@@ -306,7 +306,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void DebugFormat(string format, object arg0, object arg1, object arg2)
+ virtual public void DebugFormat(string format, object arg0, object arg1, object arg2)
{
if (IsDebugEnabled)
{
@@ -332,7 +332,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void DebugFormat(IFormatProvider provider, string format, params object[] args)
+ virtual public void DebugFormat(IFormatProvider provider, string format, params object[] args)
{
if (IsDebugEnabled)
{
@@ -347,27 +347,27 @@ namespace log4net.Core
/// <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
/// <c>INFO</c> 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
+ /// <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
+ /// <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>
- virtual public void Info(object message)
+ virtual public void Info(object message)
{
Logger.Log(ThisDeclaringType, m_levelInfo, message, null);
}
-
+
/// <summary>
/// Logs a message object with the <c>INFO</c> level.
/// </summary>
@@ -376,7 +376,7 @@ namespace log4net.Core
/// <remarks>
/// <para>
/// Logs a message object with the <c>INFO</c> level including
- /// the stack trace of the <see cref="Exception"/> <paramref name="exception"/>
+ /// the stack trace of the <see cref="Exception"/> <paramref name="exception"/>
/// passed as a parameter.
/// </para>
/// <para>
@@ -384,7 +384,7 @@ namespace log4net.Core
/// </para>
/// </remarks>
/// <seealso cref="M:Info(object)"/>
- virtual public void Info(object message, Exception exception)
+ virtual public void Info(object message, Exception exception)
{
Logger.Log(ThisDeclaringType, m_levelInfo, message, exception);
}
@@ -411,7 +411,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void InfoFormat(string format, params object[] args)
+ virtual public void InfoFormat(string format, params object[] args)
{
if (IsInfoEnabled)
{
@@ -441,7 +441,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void InfoFormat(string format, object arg0)
+ virtual public void InfoFormat(string format, object arg0)
{
if (IsInfoEnabled)
{
@@ -472,7 +472,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void InfoFormat(string format, object arg0, object arg1)
+ virtual public void InfoFormat(string format, object arg0, object arg1)
{
if (IsInfoEnabled)
{
@@ -504,7 +504,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void InfoFormat(string format, object arg0, object arg1, object arg2)
+ virtual public void InfoFormat(string format, object arg0, object arg1, object arg2)
{
if (IsInfoEnabled)
{
@@ -530,7 +530,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void InfoFormat(IFormatProvider provider, string format, params object[] args)
+ virtual public void InfoFormat(IFormatProvider provider, string format, params object[] args)
{
if (IsInfoEnabled)
{
@@ -545,27 +545,27 @@ namespace log4net.Core
/// <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
/// <c>WARN</c> 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
+ /// stack trace. To print a stack trace use the
/// <see cref="M:Warn(object,Exception)"/> form instead.
/// </para>
/// </remarks>
- virtual public void Warn(object message)
+ virtual public void Warn(object message)
{
Logger.Log(ThisDeclaringType, m_levelWarn, message, null);
}
-
+
/// <summary>
/// Logs a message object with the <c>WARN</c> level
/// </summary>
@@ -574,7 +574,7 @@ namespace log4net.Core
/// <remarks>
/// <para>
/// Logs a message object with the <c>WARN</c> level including
- /// the stack trace of the <see cref="Exception"/> <paramref name="exception"/>
+ /// the stack trace of the <see cref="Exception"/> <paramref name="exception"/>
/// passed as a parameter.
/// </para>
/// <para>
@@ -582,7 +582,7 @@ namespace log4net.Core
/// </para>
/// </remarks>
/// <seealso cref="M:Warn(object)"/>
- virtual public void Warn(object message, Exception exception)
+ virtual public void Warn(object message, Exception exception)
{
Logger.Log(ThisDeclaringType, m_levelWarn, message, exception);
}
@@ -609,7 +609,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void WarnFormat(string format, params object[] args)
+ virtual public void WarnFormat(string format, params object[] args)
{
if (IsWarnEnabled)
{
@@ -639,7 +639,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void WarnFormat(string format, object arg0)
+ virtual public void WarnFormat(string format, object arg0)
{
if (IsWarnEnabled)
{
@@ -670,7 +670,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void WarnFormat(string format, object arg0, object arg1)
+ virtual public void WarnFormat(string format, object arg0, object arg1)
{
if (IsWarnEnabled)
{
@@ -702,7 +702,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void WarnFormat(string format, object arg0, object arg1, object arg2)
+ virtual public void WarnFormat(string format, object arg0, object arg1, object arg2)
{
if (IsWarnEnabled)
{
@@ -728,7 +728,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void WarnFormat(IFormatProvider provider, string format, params object[] args)
+ virtual public void WarnFormat(IFormatProvider provider, string format, params object[] args)
{
if (IsWarnEnabled)
{
@@ -743,23 +743,23 @@ namespace log4net.Core
/// <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
/// <c>ERROR</c> 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
+ /// stack trace. To print a stack trace use the
/// <see cref="M:Error(object,Exception)"/> form instead.
/// </para>
/// </remarks>
- virtual public void Error(object message)
+ virtual public void Error(object message)
{
Logger.Log(ThisDeclaringType, m_levelError, message, null);
}
@@ -772,7 +772,7 @@ namespace log4net.Core
/// <remarks>
/// <para>
/// Logs a message object with the <c>ERROR</c> level including
- /// the stack trace of the <see cref="Exception"/> <paramref name="exception"/>
+ /// the stack trace of the <see cref="Exception"/> <paramref name="exception"/>
/// passed as a parameter.
/// </para>
/// <para>
@@ -780,7 +780,7 @@ namespace log4net.Core
/// </para>
/// </remarks>
/// <seealso cref="M:Error(object)"/>
- virtual public void Error(object message, Exception exception)
+ virtual public void Error(object message, Exception exception)
{
Logger.Log(ThisDeclaringType, m_levelError, message, exception);
}
@@ -807,7 +807,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void ErrorFormat(string format, params object[] args)
+ virtual public void ErrorFormat(string format, params object[] args)
{
if (IsErrorEnabled)
{
@@ -837,7 +837,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void ErrorFormat(string format, object arg0)
+ virtual public void ErrorFormat(string format, object arg0)
{
if (IsErrorEnabled)
{
@@ -868,7 +868,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void ErrorFormat(string format, object arg0, object arg1)
+ virtual public void ErrorFormat(string format, object arg0, object arg1)
{
if (IsErrorEnabled)
{
@@ -900,7 +900,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void ErrorFormat(string format, object arg0, object arg1, object arg2)
+ virtual public void ErrorFormat(string format, object arg0, object arg1, object arg2)
{
if (IsErrorEnabled)
{
@@ -926,7 +926,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void ErrorFormat(IFormatProvider provider, string format, params object[] args)
+ virtual public void ErrorFormat(IFormatProvider provider, string format, params object[] args)
{
if (IsErrorEnabled)
{
@@ -941,27 +941,27 @@ namespace log4net.Core
/// <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
/// <c>FATAL</c> 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
+ /// stack trace. To print a stack trace use the
/// <see cref="M:Fatal(object,Exception)"/> form instead.
/// </para>
/// </remarks>
- virtual public void Fatal(object message)
+ virtual public void Fatal(object message)
{
Logger.Log(ThisDeclaringType, m_levelFatal, message, null);
}
-
+
/// <summary>
/// Logs a message object with the <c>FATAL</c> level
/// </summary>
@@ -970,7 +970,7 @@ namespace log4net.Core
/// <remarks>
/// <para>
/// Logs a message object with the <c>FATAL</c> level including
- /// the stack trace of the <see cref="Exception"/> <paramref name="exception"/>
+ /// the stack trace of the <see cref="Exception"/> <paramref name="exception"/>
/// passed as a parameter.
/// </para>
/// <para>
@@ -978,7 +978,7 @@ namespace log4net.Core
/// </para>
/// </remarks>
/// <seealso cref="M:Fatal(object)"/>
- virtual public void Fatal(object message, Exception exception)
+ virtual public void Fatal(object message, Exception exception)
{
Logger.Log(ThisDeclaringType, m_levelFatal, message, exception);
}
@@ -1005,7 +1005,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void FatalFormat(string format, params object[] args)
+ virtual public void FatalFormat(string format, params object[] args)
{
if (IsFatalEnabled)
{
@@ -1035,7 +1035,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void FatalFormat(string format, object arg0)
+ virtual public void FatalFormat(string format, object arg0)
{
if (IsFatalEnabled)
{
@@ -1066,7 +1066,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void FatalFormat(string format, object arg0, object arg1)
+ virtual public void FatalFormat(string format, object arg0, object arg1)
{
if (IsFatalEnabled)
{
@@ -1098,7 +1098,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void FatalFormat(string format, object arg0, object arg1, object arg2)
+ virtual public void FatalFormat(string format, object arg0, object arg1, object arg2)
{
if (IsFatalEnabled)
{
@@ -1124,7 +1124,7 @@ namespace log4net.Core
/// methods instead.
/// </para>
/// </remarks>
- virtual public void FatalFormat(IFormatProvider provider, string format, params object[] args)
+ virtual public void FatalFormat(IFormatProvider provider, string format, params object[] args)
{
if (IsFatalEnabled)
{
@@ -1160,7 +1160,7 @@ namespace log4net.Core
/// </para>
/// <code lang="C#">
/// if (log.IsDebugEnabled())
- /// {
+ /// {
/// log.Debug("This is entry number: " + i );
/// }
/// </code>
@@ -1179,7 +1179,7 @@ namespace log4net.Core
{
get { return Logger.IsEnabledFor(m_levelDebug); }
}
-
+
/// <summary>
/// Checks if this logger is enabled for the <c>INFO</c> level.
/// </summary>
@@ -1189,7 +1189,7 @@ namespace log4net.Core
/// </value>
/// <remarks>
/// <para>
- /// See <see cref="IsDebugEnabled"/> for more information and examples
+ /// See <see cref="IsDebugEnabled"/> for more information and examples
/// of using this method.
/// </para>
/// </remarks>
@@ -1208,7 +1208,7 @@ namespace log4net.Core
/// </value>
/// <remarks>
/// <para>
- /// See <see cref="IsDebugEnabled"/> for more information and examples
+ /// See <see cref="IsDebugEnabled"/> for more information and examples
/// of using this method.
/// </para>
/// </remarks>