diff --git a/Spring.build b/Spring.build index b2c1b1e0..3ce1aa24 100644 --- a/Spring.build +++ b/Spring.build @@ -473,13 +473,13 @@ Commandline Examples: - + - + diff --git a/examples/Spring/Spring.Data.NHibernate.Northwind/src/Spring.Northwind.Web.Conversation/Spring.Northwind.Web.Conversation.2010.csproj b/examples/Spring/Spring.Data.NHibernate.Northwind/src/Spring.Northwind.Web.Conversation/Spring.Northwind.Web.Conversation.2010.csproj index f4ee0704..a94ddb11 100644 --- a/examples/Spring/Spring.Data.NHibernate.Northwind/src/Spring.Northwind.Web.Conversation/Spring.Northwind.Web.Conversation.2010.csproj +++ b/examples/Spring/Spring.Data.NHibernate.Northwind/src/Spring.Northwind.Web.Conversation/Spring.Northwind.Web.Conversation.2010.csproj @@ -45,7 +45,7 @@ 4 - + False ..\..\..\..\..\lib\Net\2.0\Common.Logging.dll diff --git a/examples/Spring/Spring.Data.NHibernate.Northwind/src/Spring.Northwind.Web/Spring.Northwind.Web.2010.csproj b/examples/Spring/Spring.Data.NHibernate.Northwind/src/Spring.Northwind.Web/Spring.Northwind.Web.2010.csproj index dce93dc0..a11dc21f 100644 --- a/examples/Spring/Spring.Data.NHibernate.Northwind/src/Spring.Northwind.Web/Spring.Northwind.Web.2010.csproj +++ b/examples/Spring/Spring.Data.NHibernate.Northwind/src/Spring.Northwind.Web/Spring.Northwind.Web.2010.csproj @@ -45,7 +45,7 @@ 4 - + False ..\..\..\..\..\lib\Net\2.0\Common.Logging.dll diff --git a/examples/Spring/Spring.Mvc3QuickStart/src/Spring.Mvc3QuickStart/Spring.Mvc3QuickStart.csproj b/examples/Spring/Spring.Mvc3QuickStart/src/Spring.Mvc3QuickStart/Spring.Mvc3QuickStart.csproj index f58b6232..dc35cc09 100644 --- a/examples/Spring/Spring.Mvc3QuickStart/src/Spring.Mvc3QuickStart/Spring.Mvc3QuickStart.csproj +++ b/examples/Spring/Spring.Mvc3QuickStart/src/Spring.Mvc3QuickStart/Spring.Mvc3QuickStart.csproj @@ -47,9 +47,9 @@ 4 - + False - ..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll ..\..\packages\EntityFramework.4.1.10331.0\lib\EntityFramework.dll diff --git a/examples/Spring/Spring.Mvc3QuickStart/src/Spring.Mvc3QuickStart/Web.config b/examples/Spring/Spring.Mvc3QuickStart/src/Spring.Mvc3QuickStart/Web.config index 3b8d43eb..20a49bfa 100644 --- a/examples/Spring/Spring.Mvc3QuickStart/src/Spring.Mvc3QuickStart/Web.config +++ b/examples/Spring/Spring.Mvc3QuickStart/src/Spring.Mvc3QuickStart/Web.config @@ -89,7 +89,7 @@ - + diff --git a/examples/Spring/Spring.Mvc3QuickStart/src/Spring.Mvc3QuickStart/packages.config b/examples/Spring/Spring.Mvc3QuickStart/src/Spring.Mvc3QuickStart/packages.config index 36963ff0..b2842586 100644 --- a/examples/Spring/Spring.Mvc3QuickStart/src/Spring.Mvc3QuickStart/packages.config +++ b/examples/Spring/Spring.Mvc3QuickStart/src/Spring.Mvc3QuickStart/packages.config @@ -1,6 +1,6 @@  - + diff --git a/examples/Spring/Spring.Scheduling.Quartz.Example/src/App.config b/examples/Spring/Spring.Scheduling.Quartz.Example/src/App.config index 3521184b..905a9712 100644 --- a/examples/Spring/Spring.Scheduling.Quartz.Example/src/App.config +++ b/examples/Spring/Spring.Scheduling.Quartz.Example/src/App.config @@ -29,6 +29,10 @@ + + + + diff --git a/examples/Spring/Spring.Scheduling.Quartz.Example/src/Spring.Scheduling.Quartz.Example.2010.csproj b/examples/Spring/Spring.Scheduling.Quartz.Example/src/Spring.Scheduling.Quartz.Example.2010.csproj index 6337f490..02ba3d78 100644 --- a/examples/Spring/Spring.Scheduling.Quartz.Example/src/Spring.Scheduling.Quartz.Example.2010.csproj +++ b/examples/Spring/Spring.Scheduling.Quartz.Example/src/Spring.Scheduling.Quartz.Example.2010.csproj @@ -97,10 +97,10 @@ - ..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll - ..\packages\Quartz.2.2.3\lib\net40\Quartz.dll + ..\packages\Quartz.2.3\lib\net40\Quartz.dll False diff --git a/examples/Spring/Spring.Scheduling.Quartz.Example/src/packages.config b/examples/Spring/Spring.Scheduling.Quartz.Example/src/packages.config index cc697108..98c0e8ef 100644 --- a/examples/Spring/Spring.Scheduling.Quartz.Example/src/packages.config +++ b/examples/Spring/Spring.Scheduling.Quartz.Example/src/packages.config @@ -1,5 +1,5 @@  - - + + \ No newline at end of file diff --git a/examples/Spring/Spring.TxQuickStart/src/Spring/Spring.TxQuickStart/Spring.TxQuickStart.2010.csproj b/examples/Spring/Spring.TxQuickStart/src/Spring/Spring.TxQuickStart/Spring.TxQuickStart.2010.csproj index 6651f503..db399c1c 100644 --- a/examples/Spring/Spring.TxQuickStart/src/Spring/Spring.TxQuickStart/Spring.TxQuickStart.2010.csproj +++ b/examples/Spring/Spring.TxQuickStart/src/Spring/Spring.TxQuickStart/Spring.TxQuickStart.2010.csproj @@ -54,7 +54,7 @@ AllRules.ruleset - + False ..\..\..\..\..\..\lib\Net\2.0\Common.Logging.dll diff --git a/examples/Spring/Spring.WebQuickStart/.nuget/packages.config b/examples/Spring/Spring.WebQuickStart/.nuget/packages.config index bd5e5f3b..0599d7b8 100644 --- a/examples/Spring/Spring.WebQuickStart/.nuget/packages.config +++ b/examples/Spring/Spring.WebQuickStart/.nuget/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/lib/Net/2.0/Common.Logging.Log4Net1211.dll b/lib/Net/2.0/Common.Logging.Log4Net1211.dll index fe73ca59..4d5ebbeb 100644 Binary files a/lib/Net/2.0/Common.Logging.Log4Net1211.dll and b/lib/Net/2.0/Common.Logging.Log4Net1211.dll differ diff --git a/lib/Net/2.0/Common.Logging.Log4Net1211.xml b/lib/Net/2.0/Common.Logging.Log4Net1211.xml new file mode 100644 index 00000000..894344b3 --- /dev/null +++ b/lib/Net/2.0/Common.Logging.Log4Net1211.xml @@ -0,0 +1,244 @@ + + + + Common.Logging.Log4Net1211 + + + + + Routes log events to Common.Logging infrastructure. + + + To route all events logged using log4net to Common.Logging, you need to configure this appender as shown below: + + <log4net> + <appender name="CommonLoggingAppender" + type="Common.Logging.Log4Net.CommonLoggingAppender, Common.Logging.Log4Net129"> + <layout type="log4net.Layout.PatternLayout, log4net"> + <param name="ConversionPattern" value="%level - %class.%method: %message" /> + </layout> + </appender> + + <root> + <level value="ALL" /> + <appender-ref ref="CommonLoggingAppender" /> + </root> + </log4net> + + + Erich Eichinger + + + + Gets the closest level supported by Common.Logging of the given log4net level + + + + + Sends the given log event to Common.Logging + + + + + Get or set the layout for this appender + + + + + Wrapper class that prevents exceptions from being rendered in the message + + + + + Concrete implementation of interface specific to log4net 1.2.9-1.2.11. + + + Log4net is capable of outputting extended debug information about where the current + message was generated: class name, method name, file, line, etc. Log4net assumes that the location + information should be gathered relative to where Debug() was called. + When using Common.Logging, Debug() is called in Common.Logging.Log4Net.Log4NetLogger. This means that + the location information will indicate that Common.Logging.Log4Net.Log4NetLogger always made + the call to Debug(). We need to know where Common.Logging.ILog.Debug() + was called. To do this we need to use the log4net.ILog.Logger.Log method and pass in a Type telling + log4net where in the stack to begin looking for location information. + + Gilles Bayon + Erich Eichinger + + + + Constructor + + + + + + Actually sends the message to the underlying log system. + + the level of this log event. + the message to log + the exception to log (may be null) + + + + Maps to log4net's + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Concrete subclass of ILoggerFactoryAdapter specific to log4net 1.2.9-1.2.11. + + + The following configuration property values may be configured: + + configType: INLINE|FILE|FILE-WATCH|EXTERNAL + configFile: log4net configuration file path in case of FILE or FILE-WATCH + + The configType values have the following implications: + + INLINE: simply calls XmlConfigurator.Configure() + FILE: calls XmlConfigurator.Configure(System.IO.FileInfo) using configFile. + FILE-WATCH: calls XmlConfigurator.ConfigureAndWatch(System.IO.FileInfo) using configFile. + EXTERNAL: does nothing and expects log4net to be configured elsewhere. + <any>: calls BasicConfigurator.Configure() + + + + The following snippet shows an example of how to configure log4net with Common.Logging: + + <configuration> + <configSections> + <sectionGroup name="common"> + <section name="logging" + type="Common.Logging.ConfigurationSectionHandler, Common.Logging" + requirePermission="false" /> + </sectionGroup> + <section name="log4net" + type="log4net.Config.Log4NetConfigurationSectionHandler" + requirePermission="false" /> + </configSections> + + <common> + <logging> + <factoryAdapter type="Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, Common.Logging.Log4Net129"> + <arg key="level" value="ALL" /> + <arg key="configType" value="INLINE" /> + </factoryAdapter> + </logging> + </common> + + <log4net debug="false"> + + <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender, log4net"> + <param name="File" value="./Web.log" /> + <param name="AppendToFile" value="true" /> + <param name="MaxSizeRollBackups" value="1" /> + <param name="MaximumFileSize" value="1GB" /> + <param name="RollingStyle" value="Date" /> + <param name="StaticLogFileName" value="false" /> + + <layout type="log4net.Layout.PatternLayout, log4net"> + <param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" /> + </layout> + + </appender> + + <appender name="TraceAppender" type="log4net.Appender.TraceAppender"> + <layout type="log4net.Layout.PatternLayout"> + <param name="ConversionPattern" value="%-5p: %m" /> + </layout> + </appender> + + <root> + <level value="ALL" /> + <appender-ref ref="TraceAppender" /> + <appender-ref ref="RollingLogFileAppender" /> + </root> + + </log4net> + </configuration> + + + Gilles Bayon + Erich Eichinger + + + + Constructor + + configuration properties, see for more. + + + + Constructor for binary backwards compatibility with non-portableversions + + The properties. + + + + Constructor accepting configuration properties and an arbitrary + instance. + + configuration properties, see for more. + a log4net runtime adapter + + + + Create a ILog instance by name + + + + + + + Abstract interface to the underlying log4net runtime + + + + Calls + + + Calls + + + Calls + + + Calls + + + Calls + + + diff --git a/lib/Net/2.0/Common.Logging.dll b/lib/Net/2.0/Common.Logging.dll index 0c35fd33..ed701c12 100644 Binary files a/lib/Net/2.0/Common.Logging.dll and b/lib/Net/2.0/Common.Logging.dll differ diff --git a/lib/Net/2.0/Common.Logging.xml b/lib/Net/2.0/Common.Logging.xml index caaa6144..1d33d7ee 100644 --- a/lib/Net/2.0/Common.Logging.xml +++ b/lib/Net/2.0/Common.Logging.xml @@ -4,11 +4,376 @@ Common.Logging - + - This assembly contains the core functionality of the Common.Logging framework. - In particular, checkout and for usage information. + Indicates classes or members to be ignored by NCover + + Note, the key is chosen, because TestDriven.NET uses it as //ea argument to "Test With... Coverage" + + Erich Eichinger + + + + The exception that is thrown when a configuration system error has occurred with Common.Logging + + Mark Pollack + + + Creates a new instance of the ObjectsException class. + + + + Creates a new instance of the ConfigurationException class. with the specified message. + + + A message about the exception. + + + + + Creates a new instance of the ConfigurationException class with the specified message + and root cause. + + + A message about the exception. + + + The root exception that is being wrapped. + + + + + Creates a new instance of the ConfigurationException class. + + + The + that holds the serialized object data about the exception being thrown. + + + The + that contains contextual information about the source or destination. + + + + + Various utility methods for using during factory and logger instance configuration + + Erich Eichinger + + + + Initialize all members before any of this class' methods can be accessed (avoids beforeFieldInit) + + + + + Adds the parser to the list of known type parsers. + + + .NET intrinsic types are pre-registerd: short, int, long, float, double, decimal, bool + + + + + Retrieves the named value from the specified . + + may be null + the value's key + if is not null, the value returned by values[key]. null otherwise. + + + + Retrieves the named value from the specified . + + may be null + the value's key + the default value, if not found + if is not null, the value returned by values[key]. null otherwise. + + + + Returns the first nonnull, nonempty value among its arguments. + + + Returns null, if the initial list was null or empty. + + + + + + Returns the first nonnull, nonempty value among its arguments. + + + Also + + + + + Tries parsing into an enum of the type of . + + the default value to return if parsing fails + the string value to parse + the successfully parsed value, otherwise. + + + + Tries parsing into the specified return type. + + the default value to return if parsing fails + the string value to parse + the successfully parsed value, otherwise. + + + + Throws a if is null. + + + + + Throws a if is null. + + + + + Throws a if an object of type is not + assignable to type . + + + + + Throws a if an object of type is not + assignable to type . + + + + + Ensures any exception thrown by the given is wrapped with an + . + + + If already throws a ConfigurationException, it will not be wrapped. + + the action to execute + the message to be set on the thrown + args to be passed to to format the message + + + + Ensures any exception thrown by the given is wrapped with an + . + + + If already throws a ConfigurationException, it will not be wrapped. + + the action to execute + the message to be set on the thrown + args to be passed to to format the message + + + + A delegate converting a string representation into the target type + + + + + An anonymous action delegate with no arguments and no return value. + + + + + + An anonymous action delegate with no arguments and no return value. + + + + + + Implementation of that uses the standard .NET + configuration APIs, ConfigurationSettings in 1.x and ConfigurationManager in 2.0 + + Mark Pollack + + + + Interface for basic operations to read .NET application configuration information. + + Provides a simple abstraction to handle BCL API differences between .NET 1.x and 2.0. Also + useful for testing scenarios. + Mark Pollack + + + + Parses the configuration section and returns the resulting object. + + +

+ Primary purpose of this method is to allow us to parse and + load configuration sections using the same API regardless + of the .NET framework version. +

+ + See also System.Configuration.ConfigurationManager +
+ Name of the configuration section. + Object created by a corresponding . +
+ + + Parses the configuration section and returns the resulting object. + Using the System.Configuration.ConfigurationManager + + Name of the configuration section. + + Object created by a corresponding IConfigurationSectionHandler" + + +

+ Primary purpose of this method is to allow us to parse and + load configuration sections using the same API regardless + of the .NET framework version. +

+
+
+ + + Container used to hold configuration information from config file. + + Gilles Bayon + + + + + + + The type + that will be used for creating + + + Additional user supplied properties that are passed to the + 's constructor. + + + + + The type that will be used for creating + instances. + + + + + Additional user supplied properties that are passed to the 's constructor. + + + + + Substitute NameValueCollection in System.Collections.Specialized. + + + + + Creates a new instance of NameValueCollection. + + + + + Gets the values (only a single one) for the specified key (configuration name) + + The key. + an array with one value, or null if no value exist + + + + Gets or sets the value with the specified key. + + + The value corrsponding to the key, or null if no value exist + + The key. + value store for the key + + + + An implementation of that caches loggers handed out by this factory. + + + Implementors just need to override . + + Erich Eichinger + + + + LoggerFactoryAdapter interface is used internally by LogManager + Only developers wishing to write new Common.Logging adapters need to + worry about this interface. + + Gilles Bayon + + + + Get a ILog instance by type. + + The type to use for the logger + + + + + Get a ILog instance by key. + + The key of the logger + + + + + Creates a new instance, the logger cache being case-sensitive. + + + + + Creates a new instance, the logger cache being . + + + + + + Purges all loggers from cache + + + + + Create the specified named logger instance + + + Derived factories need to implement this method to create the + actual logger instance. + + + + + Get a ILog instance by . + + Usually the of the current class. + + An ILog instance either obtained from the internal cache or created by a call to . + + + + + Get a ILog instance by key. + + Usually a 's Name or FullName property. + + An ILog instance either obtained from the internal cache or created by a call to . + + + + + Get or create a ILog instance by key. + + Usually a 's Name or FullName property. + + An ILog instance either obtained from the internal cache or created by a call to . + @@ -49,7 +414,7 @@ Log a message object with the level. - The message object to log. + The message object to log. @@ -57,40 +422,40 @@ the stack trace of the passed as a parameter. - The message object to log. - The exception to log, including its stack trace. + The message object to log. + The exception to log, including its stack trace. Log a message with the level. - The format of the message object to log. - the list of format arguments + The format of the message object to log. + the list of format arguments Log a message with the level. - The format of the message object to log. - The exception to log. - the list of format arguments + The format of the message object to log. + The exception to log. + the list of format arguments Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + The exception to log. + @@ -100,7 +465,7 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched + A callback used by the logger to obtain the message if log level is matched @@ -110,8 +475,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack trace. @@ -121,8 +486,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched @@ -132,15 +497,15 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack trace. Log a message object with the level. - The message object to log. + The message object to log. @@ -148,40 +513,40 @@ the stack trace of the passed as a parameter. - The message object to log. - The exception to log, including its stack trace. + The message object to log. + The exception to log, including its stack trace. Log a message with the level. - The format of the message object to log. - the list of format arguments + The format of the message object to log. + the list of format arguments Log a message with the level. - The format of the message object to log. - The exception to log. - the list of format arguments + The format of the message object to log. + The exception to log. + the list of format arguments Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + The exception to log. + @@ -191,7 +556,7 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched + A callback used by the logger to obtain the message if log level is matched @@ -201,8 +566,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack trace. @@ -212,8 +577,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched @@ -223,15 +588,15 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Debug. + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Debug. Log a message object with the level. - The message object to log. + The message object to log. @@ -239,40 +604,40 @@ the stack trace of the passed as a parameter. - The message object to log. - The exception to log, including its stack trace. + The message object to log. + The exception to log, including its stack trace. Log a message with the level. - The format of the message object to log. - the list of format arguments + The format of the message object to log. + the list of format arguments Log a message with the level. - The format of the message object to log. - The exception to log. - the list of format arguments + The format of the message object to log. + The exception to log. + the list of format arguments Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + The exception to log. + @@ -282,7 +647,7 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched + A callback used by the logger to obtain the message if log level is matched @@ -292,8 +657,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack trace. @@ -303,8 +668,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched @@ -314,15 +679,15 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Info. + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Info. Log a message object with the level. - The message object to log. + The message object to log. @@ -330,40 +695,40 @@ the stack trace of the passed as a parameter. - The message object to log. - The exception to log, including its stack trace. + The message object to log. + The exception to log, including its stack trace. Log a message with the level. - The format of the message object to log. - the list of format arguments + The format of the message object to log. + the list of format arguments Log a message with the level. - The format of the message object to log. - The exception to log. - the list of format arguments + The format of the message object to log. + The exception to log. + the list of format arguments Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + The exception to log. + @@ -373,7 +738,7 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched + A callback used by the logger to obtain the message if log level is matched @@ -383,8 +748,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack trace. @@ -394,8 +759,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched @@ -405,15 +770,15 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Warn. + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Warn. Log a message object with the level. - The message object to log. + The message object to log. @@ -421,40 +786,40 @@ the stack trace of the passed as a parameter. - The message object to log. - The exception to log, including its stack trace. + The message object to log. + The exception to log, including its stack trace. Log a message with the level. - The format of the message object to log. - the list of format arguments + The format of the message object to log. + the list of format arguments Log a message with the level. - The format of the message object to log. - The exception to log. - the list of format arguments + The format of the message object to log. + The exception to log. + the list of format arguments Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + The exception to log. + @@ -464,7 +829,7 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched + A callback used by the logger to obtain the message if log level is matched @@ -474,8 +839,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack trace. @@ -485,8 +850,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched @@ -496,15 +861,15 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Error. + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Error. Log a message object with the level. - The message object to log. + The message object to log. @@ -512,40 +877,40 @@ the stack trace of the passed as a parameter. - The message object to log. - The exception to log, including its stack trace. + The message object to log. + The exception to log, including its stack trace. Log a message with the level. - The format of the message object to log. - the list of format arguments + The format of the message object to log. + the list of format arguments Log a message with the level. - The format of the message object to log. - The exception to log. - the list of format arguments + The format of the message object to log. + The exception to log. + the list of format arguments Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + The exception to log. + @@ -555,7 +920,7 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched + A callback used by the logger to obtain the message if log level is matched @@ -565,8 +930,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack trace. @@ -576,8 +941,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched @@ -587,9 +952,9 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Fatal. + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Fatal. @@ -648,15 +1013,15 @@ Actually sends the message to the underlying log system. - the level of this log event. - the message to log - the exception to log (may be null) + the level of this log event. + the message to log + the exception to log (may be null) Log a message object with the level. - The message object to log. + The message object to log. @@ -664,40 +1029,40 @@ the stack trace of the passed as a parameter. - The message object to log. - The exception to log, including its stack trace. + The message object to log. + The exception to log, including its stack trace. Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + The exception to log. + Log a message with the level. - The format of the message object to log. - the list of format arguments + The format of the message object to log. + the list of format arguments Log a message with the level. - The format of the message object to log. - The exception to log. - the list of format arguments + The format of the message object to log. + The exception to log. + the list of format arguments @@ -707,7 +1072,7 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched + A callback used by the logger to obtain the message if log level is matched @@ -717,8 +1082,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack trace. @@ -728,8 +1093,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched @@ -739,15 +1104,15 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack trace. Log a message object with the level. - The message object to log. + The message object to log. @@ -755,40 +1120,40 @@ the stack Debug of the passed as a parameter. - The message object to log. - The exception to log, including its stack Debug. + The message object to log. + The exception to log, including its stack Debug. Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + The exception to log. + Log a message with the level. - The format of the message object to log. - the list of format arguments + The format of the message object to log. + the list of format arguments Log a message with the level. - The format of the message object to log. - The exception to log. - the list of format arguments + The format of the message object to log. + The exception to log. + the list of format arguments @@ -798,7 +1163,7 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched + A callback used by the logger to obtain the message if log level is matched @@ -808,8 +1173,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Debug. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Debug. @@ -819,8 +1184,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched @@ -830,15 +1195,15 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Debug. + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Debug. Log a message object with the level. - The message object to log. + The message object to log. @@ -846,40 +1211,40 @@ the stack Info of the passed as a parameter. - The message object to log. - The exception to log, including its stack Info. + The message object to log. + The exception to log, including its stack Info. Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + Log a message with the level. - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - + An that supplies culture-specific formatting information. + The format of the message object to log. + The exception to log. + Log a message with the level. - The format of the message object to log. - the list of format arguments + The format of the message object to log. + the list of format arguments Log a message with the level. - The format of the message object to log. - The exception to log. - the list of format arguments + The format of the message object to log. + The exception to log. + the list of format arguments @@ -889,7 +1254,7 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched + A callback used by the logger to obtain the message if log level is matched @@ -899,8 +1264,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Info. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Info. @@ -910,8 +1275,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched @@ -921,15 +1286,15 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Info. + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Info. Log a message object with the level. - The message object to log. + The message object to log. @@ -937,40 +1302,40 @@ the stack Warn of the passed as a parameter. - The message object to log. - The exception to log, including its stack Warn. + The message object to log. + The exception to log, including its stack Warn. Log a message with the level. - An that supplies culture-specific formatting Warnrmation. - The format of the message object to log. - + An that supplies culture-specific formatting Warnrmation. + The format of the message object to log. + Log a message with the level. - An that supplies culture-specific formatting Warnrmation. - The format of the message object to log. - The exception to log. - + An that supplies culture-specific formatting Warnrmation. + The format of the message object to log. + The exception to log. + Log a message with the level. - The format of the message object to log. - the list of format arguments + The format of the message object to log. + the list of format arguments Log a message with the level. - The format of the message object to log. - The exception to log. - the list of format arguments + The format of the message object to log. + The exception to log. + the list of format arguments @@ -980,7 +1345,7 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched + A callback used by the logger to obtain the message if log level is matched @@ -990,8 +1355,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Warn. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Warn. @@ -1001,8 +1366,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched @@ -1012,15 +1377,15 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Warn. + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Warn. Log a message object with the level. - The message object to log. + The message object to log. @@ -1028,40 +1393,40 @@ the stack Error of the passed as a parameter. - The message object to log. - The exception to log, including its stack Error. + The message object to log. + The exception to log, including its stack Error. Log a message with the level. - An that supplies culture-specific formatting Errorrmation. - The format of the message object to log. - + An that supplies culture-specific formatting Errorrmation. + The format of the message object to log. + Log a message with the level. - An that supplies culture-specific formatting Errorrmation. - The format of the message object to log. - The exception to log. - + An that supplies culture-specific formatting Errorrmation. + The format of the message object to log. + The exception to log. + Log a message with the level. - The format of the message object to log. - the list of format arguments + The format of the message object to log. + the list of format arguments Log a message with the level. - The format of the message object to log. - The exception to log. - the list of format arguments + The format of the message object to log. + The exception to log. + the list of format arguments @@ -1071,7 +1436,7 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched + A callback used by the logger to obtain the message if log level is matched @@ -1081,8 +1446,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Error. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Error. @@ -1092,8 +1457,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched @@ -1103,15 +1468,15 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Error. + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Error. Log a message object with the level. - The message object to log. + The message object to log. @@ -1119,40 +1484,40 @@ the stack Fatal of the passed as a parameter. - The message object to log. - The exception to log, including its stack Fatal. + The message object to log. + The exception to log, including its stack Fatal. Log a message with the level. - An that supplies culture-specific formatting Fatalrmation. - The format of the message object to log. - + An that supplies culture-specific formatting Fatalrmation. + The format of the message object to log. + Log a message with the level. - An that supplies culture-specific formatting Fatalrmation. - The format of the message object to log. - The exception to log. - + An that supplies culture-specific formatting Fatalrmation. + The format of the message object to log. + The exception to log. + Log a message with the level. - The format of the message object to log. - the list of format arguments + The format of the message object to log. + the list of format arguments Log a message with the level. - The format of the message object to log. - The exception to log. - the list of format arguments + The format of the message object to log. + The exception to log. + the list of format arguments @@ -1162,7 +1527,7 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched + A callback used by the logger to obtain the message if log level is matched @@ -1172,8 +1537,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Fatal. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Fatal. @@ -1183,8 +1548,8 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched @@ -1194,9 +1559,9 @@ Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Fatal. + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Fatal. @@ -1255,14 +1620,14 @@ Initializes a new instance of the class. - The format message callback. + The format message callback. Initializes a new instance of the class. - The format provider. - The format message callback. + The format provider. + The format message callback. @@ -1279,9 +1644,9 @@ Initializes a new instance of the class. - The format provider. - The message. - The args. + The format provider. + The message. + The args. @@ -1294,95 +1659,210 @@ Represents a method responsible for writing a message to the log system. - + - An implementation of that caches loggers handed out by this factory. + The type of method that is passed into e.g. + and allows the callback method to "submit" it's message to the underlying output system. - - Implementors just need to override . - - Erich Eichinger + the format argument as in + the argument list as in + + Erich Eichinger - + - LoggerFactoryAdapter interface is used internally by LogManager - Only developers wishing to write new Common.Logging adapters need to - worry about this interface. + The 7 possible logging levels Gilles Bayon - + - Get a ILog instance by type. - - The type to use for the logger - - - - - Get a ILog instance by name. - - The name of the logger - - - - - Creates a new instance, the logger cache being case-sensitive. + All logging levels - + - Creates a new instance, the logger cache being . - - - - - - Purges all loggers from cache + A trace logging level - + - Create the specified named logger instance + A debug logging level + + + + + A info logging level + + + + + A warn logging level + + + + + An error logging level + + + + + A fatal logging level + + + + + Do not log anything. + + + + + Use the LogManager's or + methods to obtain instances for logging. - Derived factories need to implement this method to create the - actual logger instance. + For configuring the underlying log system using application configuration, see the example + at System.Configuration.ConfigurationManager + For configuring programmatically, see the example section below. + + + The example below shows the typical use of LogManager to obtain a reference to a logger + and log an exception: + + + ILog log = LogManager.GetLogger(this.GetType()); + ... + try + { + /* .... */ + } + catch(Exception ex) + { + log.ErrorFormat("Hi {0}", ex, "dude"); + } + + + The example below shows programmatic configuration of the underlying log system: + + + // create properties + NameValueCollection properties = new NameValueCollection(); + properties["showDateTime"] = "true"; + + // set Adapter + Common.Logging.LogManager.Adapter = new + Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter(properties); + + + + + + + Gilles Bayon + + + + The key of the default configuration section to read settings from. + + + You can always change the source of your configuration settings by setting another instance + on . - + - Get a ILog instance by . + Performs static 1-time init of LogManager by calling - Usually the of the current class. - - An ILog instance either obtained from the internal cache or created by a call to . - - + - Get a ILog instance by name. + Reset the infrastructure to its default settings. This means, that configuration settings + will be re-read from section <common/logging> of your app.config. - Usually a 's Name or FullName property. - - An ILog instance either obtained from the internal cache or created by a call to . - + + This is mainly used for unit testing, you wouldn't normally use this in your applications.
+ Note: instances already handed out from this LogManager are not(!) affected. + Resetting LogManager only affects new instances being handed out. +
- + - Get or create a ILog instance by name. + Reset the infrastructure to its default settings. This means, that configuration settings + will be re-read from section <common/logging> of your app.config. - Usually a 's Name or FullName property. - - An ILog instance either obtained from the internal cache or created by a call to . - + + This is mainly used for unit testing, you wouldn't normally use this in your applications.
+ Note: instances already handed out from this LogManager are not(!) affected. + Resetting LogManager only affects new instances being handed out. +
+ + the instance to obtain settings for + re-initializing the LogManager. +
- + - A logger created by that - sends all log events to the owning adapter's + Gets the logger by calling + on the currently configured using the type of the calling class. - Erich Eichinger + + This method needs to inspect the in order to determine the calling + class. This of course comes with a performance penalty, thus you shouldn't call it too + often in your application. + + + the logger instance obtained from the current + + + + Gets the logger by calling + on the currently configured using the specified type. + + the logger instance obtained from the current + + + + Gets the logger by calling + on the currently configured using the specified type. + + The type. + the logger instance obtained from the current + + + + Gets the logger by calling + on the currently configured using the specified key. + + The key. + the logger instance obtained from the current + + + + Builds the logger factory adapter. + + a factory adapter instance. Is never null. + + + + Builds a instance from the given + using . + + + the instance. Is never null + + + + Gets the configuration reader used to initialize the LogManager. + + Primarily used for testing purposes but maybe useful to obtain configuration + information from some place other than the .NET application configuration file. + The configuration reader. + + + + Gets or sets the adapter. + + The adapter. @@ -1394,32 +1874,32 @@ Creates and initializes a the simple logger. - The name, usually type name of the calling class, of the logger. - The current logging threshold. Messages recieved that are beneath this threshold will not be logged. - Include level in the log message. - Include the current time in the log message. - Include the instance name in the log message. - The date and time format to use in the log message. + The key, usually type key of the calling class, of the logger. + The current logging threshold. Messages recieved that are beneath this threshold will not be logged. + Include level in the log message. + Include the current time in the log message. + Include the instance key in the log message. + The date and time format to use in the log message. Appends the formatted message to the specified . - the that receíves the formatted message. - - - + the that receíves the formatted message. + + + Determines if the given log level is currently enabled. - + - The name of the logger. + The key of the logger. @@ -1434,7 +1914,7 @@ - Include the instance name in the log message. + Include the instance key in the log message. @@ -1494,6 +1974,125 @@ will be sent to . + + + Base factory implementation for creating simple instances. + + Default settings are LogLevel.All, showDateTime = true, showLogName = true, and no DateTimeFormat. + The keys in the NameValueCollection to configure this adapter are the following + + level + showDateTime + showLogName + dateTimeFormat + + + Here is an example how to implement your own logging adapter: + + public class ConsoleOutLogger : AbstractSimpleLogger + { + public ConsoleOutLogger(string logName, LogLevel logLevel, bool showLevel, bool showDateTime, + bool showLogName, string dateTimeFormat) + : base(logName, logLevel, showLevel, showDateTime, showLogName, dateTimeFormat) + { + } + + protected override void WriteInternal(LogLevel level, object message, Exception e) + { + // Use a StringBuilder for better performance + StringBuilder sb = new StringBuilder(); + FormatOutput(sb, level, message, e); + + // Print to the appropriate destination + Console.Out.WriteLine(sb.ToString()); + } + } + + public class ConsoleOutLoggerFactoryAdapter : AbstractSimpleLoggerFactoryAdapter + { + public ConsoleOutLoggerFactoryAdapter(NameValueCollection properties) + : base(properties) + { } + + protected override ILog CreateLogger(string key, LogLevel level, bool showLevel, bool + showDateTime, bool showLogName, string dateTimeFormat) + { + ILog log = new ConsoleOutLogger(key, level, showLevel, showDateTime, showLogName, + dateTimeFormat); + return log; + } + } + + + + Gilles Bayon + Mark Pollack + Erich Eichinger + + + + Initializes a new instance of the class. + + + Looks for level, showDateTime, showLogName, dateTimeFormat items from + for use when the GetLogger methods are called. + System.Configuration.ConfigurationManager for more information on how to use the + standard .NET application configuraiton file (App.config/Web.config) + to configure this adapter. + + The key value collection, typically specified by the user in + a configuration section named common/logging. + + + + Initializes a new instance of the class with + default settings for the loggers created by this factory. + + + + + Create the specified logger instance + + + + + Derived factories need to implement this method to create the + actual logger instance. + + a new logger instance. Must never be null! + + + + The default to use when creating new instances. + + + + + The default setting to use when creating new instances. + + + + + The default setting to use when creating new instances. + + + + + The default setting to use when creating new instances. + + + + + The default setting to use when creating new instances. + + + + + A logger created by that + sends all log events to the owning adapter's + + Erich Eichinger + The adapter that created this logger instance. @@ -1531,9 +2130,9 @@ Create a new and send it to - - - + + + @@ -1634,7 +2233,7 @@ - Get a instance for the given name. + Get a instance for the given key. @@ -1642,6 +2241,655 @@ Holds the last log event received from any of this adapter's loggers. + + + Sends log messages to . + + Gilles Bayon + + + + Creates and initializes a logger that writes messages to . + + The key, usually type key of the calling class, of the logger. + The current logging threshold. Messages recieved that are beneath this threshold will not be logged. + Include the current log level in the log message. + Include the current time in the log message. + Include the instance key in the log message. + The date and time format to use in the log message. + + + + Do the actual logging by constructing the log message using a then + sending the output to . + + The of the message. + The log message. + An optional associated with the message. + + + + Factory for creating instances that write data using . + + + + Below is an example how to configure this adapter: + + <configuration> + + <configSections> + <sectionGroup key="common"> + <section key="logging" + type="Common.Logging.ConfigurationSectionHandler, Common.Logging" + requirePermission="false" /> + </sectionGroup> + </configSections> + + <common> + <logging> + <factoryAdapter type="Common.Logging.Simple.DebugLoggerFactoryAdapter, Common.Logging"> + <arg key="level" value="ALL" /> + </factoryAdapter> + </logging> + </common> + + </configuration> + + + + + Gilles Bayon + Mark Pollack + Erich Eichinger + + + + Initializes a new instance of the class using default + settings. + + + + + Initializes a new instance of the class. + + + Looks for level, showDateTime, showLogName, dateTimeFormat items from + for use when the GetLogger methods are called. + for more information on how to use the + standard .NET application configuraiton file (App.config/Web.config) + to configure this adapter. + + The key value collection, typically specified by the user in + a configuration section named common/logging. + + + + Initializes a new instance of the class with + default settings for the loggers created by this factory. + + + + + Creates a new instance. + + + + + + + + + Silently ignores all log messages. + + Gilles Bayon + Erich Eichinger + + + + Ignores message. + + + + + + Ignores message. + + + + + + + Ignores message. + + The format of the message object to log. + + + + + Ignores message. + + The format of the message object to log. + The exception to log. + the list of message format arguments + + + + Ignores message. + + An that supplies culture-specific formatting information. + The format of the message object to log. + the list of message format arguments + + + + Ignores message. + + An that supplies culture-specific formatting information. + The format of the message object to log. + The exception to log. + the list of message format arguments + + + + Ignores message. + + A callback used by the logger to obtain the message if log level is matched + + + + Ignores message. + + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack trace. + + + + Ignores message. + + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + + + + Ignores message. + + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack trace. + + + + Ignores message. + + + + + + Ignores message. + + + + + + + Ignores message. + + The format of the message object to log. + + + + + Ignores message. + + The format of the message object to log. + The exception to log. + the list of message format arguments + + + + Ignores message. + + An that supplies culture-specific formatting information. + The format of the message object to log. + the list of message format arguments + + + + Ignores message. + + An that supplies culture-specific formatting information. + The format of the message object to log. + The exception to log. + the list of message format arguments + + + + Ignores message. + + A callback used by the logger to obtain the message if log level is matched + + + + Ignores message. + + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Debug. + + + + Ignores message. + + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + + + + Ignores message. + + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Debug. + + + + Ignores message. + + + + + + Ignores message. + + + + + + + Ignores message. + + The format of the message object to log. + + + + + Ignores message. + + The format of the message object to log. + The exception to log. + the list of message format arguments + + + + Ignores message. + + An that supplies culture-specific formatting information. + The format of the message object to log. + the list of message format arguments + + + + Ignores message. + + An that supplies culture-specific formatting information. + The format of the message object to log. + The exception to log. + the list of message format arguments + + + + Ignores message. + + A callback used by the logger to obtain the message if log level is matched + + + + Ignores message. + + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Info. + + + + Ignores message. + + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + + + + Ignores message. + + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Info. + + + + Ignores message. + + + + + + Ignores message. + + + + + + + Ignores message. + + The format of the message object to log. + + + + + Ignores message. + + The format of the message object to log. + The exception to log. + the list of message format arguments + + + + Ignores message. + + An that supplies culture-specific formatting Warnrmation. + The format of the message object to log. + the list of message format arguments + + + + Ignores message. + + An that supplies culture-specific formatting Warnrmation. + The format of the message object to log. + The exception to log. + the list of message format arguments + + + + Ignores message. + + A callback used by the logger to obtain the message if log level is matched + + + + Ignores message. + + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Warn. + + + + Ignores message. + + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + + + + Ignores message. + + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Warn. + + + + Ignores message. + + + + + + Ignores message. + + + + + + + Ignores message. + + The format of the message object to log. + + + + + Ignores message. + + The format of the message object to log. + The exception to log. + the list of message format arguments + + + + Ignores message. + + An that supplies culture-specific formatting Errorrmation. + The format of the message object to log. + the list of message format arguments + + + + Ignores message. + + An that supplies culture-specific formatting Errorrmation. + The format of the message object to log. + The exception to log. + the list of message format arguments + + + + Ignores message. + + A callback used by the logger to obtain the message if log level is matched + + + + Ignores message. + + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Error. + + + + Ignores message. + + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + + + + Ignores message. + + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Error. + + + + Ignores message. + + + + + + Ignores message. + + + + + + + Ignores message. + + The format of the message object to log. + + + + + Ignores message. + + The format of the message object to log. + The exception to log. + the list of message format arguments + + + + Ignores message. + + An that supplies culture-specific formatting Fatalrmation. + The format of the message object to log. + the list of message format arguments + + + + Ignores message. + + An that supplies culture-specific formatting Fatalrmation. + The format of the message object to log. + The exception to log. + the list of message format arguments + + + + Ignores message. + + A callback used by the logger to obtain the message if log level is matched + + + + Ignores message. + + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Fatal. + + + + Ignores message. + + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + + + + Ignores message. + + An that supplies culture-specific formatting information. + A callback used by the logger to obtain the message if log level is matched + The exception to log, including its stack Fatal. + + + + Always returns . + + + + + Always returns . + + + + + Always returns . + + + + + Always returns . + + + + + Always returns . + + + + + Always returns . + + + + + Factory for creating instances that silently ignores + logging requests. + + + This logger adapter is the default used by Common.Logging if unconfigured. Using this logger adapter is the most efficient + way to suppress any logging output. + + Below is an example how to configure this adapter: + + <configuration> + + <configSections> + <sectionGroup key="common"> + <section key="logging" + type="Common.Logging.ConfigurationSectionHandler, Common.Logging" + requirePermission="false" /> + </sectionGroup> + </configSections> + + <common> + <logging> + <factoryAdapter type="Common.Logging.Simple.NoOpLoggerFactoryAdapter, Common.Logging"> + <arg key="level" value="ALL" /> + </factoryAdapter> + </logging> + </common> + + </configuration> + + + + Gilles Bayon + + + + Constructor + + + + + Constructor + + + + + Constructor for binary backwards compatibility + + The properties. + + + + Get a ILog instance by type + + + + + + + Get a ILog instance by type key + + + + + + + Helper class for working with NameValueCollection + + + + + Convert a into the corresponding + common logging equivalent + + The properties. + + A implementation sending all System.Diagnostics.Trace output to @@ -1797,242 +3045,6 @@ - - - The exception that is thrown when a configuration system error has occurred with Common.Logging - - Mark Pollack - - - Creates a new instance of the ObjectsException class. - - - - Creates a new instance of the ConfigurationException class. with the specified message. - - - A message about the exception. - - - - - Creates a new instance of the ConfigurationException class with the specified message - and root cause. - - - A message about the exception. - - - The root exception that is being wrapped. - - - - - Creates a new instance of the ConfigurationException class. - - - The - that holds the serialized object data about the exception being thrown. - - - The - that contains contextual information about the source or destination. - - - - - Implementation of that uses the standard .NET - configuration APIs, ConfigurationSettings in 1.x and ConfigurationManager in 2.0 - - Mark Pollack - - - - Interface for basic operations to read .NET application configuration information. - - Provides a simple abstraction to handle BCL API differences between .NET 1.x and 2.0. Also - useful for testing scenarios. - Mark Pollack - - - - Parses the configuration section and returns the resulting object. - - -

- Primary purpose of this method is to allow us to parse and - load configuration sections using the same API regardless - of the .NET framework version. -

-
- Name of the configuration section. - Object created by a corresponding . - -
- - - Parses the configuration section and returns the resulting object. - - Name of the configuration section. - - Object created by a corresponding . - - -

- Primary purpose of this method is to allow us to parse and - load configuration sections using the same API regardless - of the .NET framework version. -

-
- -
- - - This namespace contains convenience base classes for implementing your own s. - - - - - Various utility methods for using during factory and logger instance configuration - - Erich Eichinger - - - - Initialize all members before any of this class' methods can be accessed (avoids beforeFieldInit) - - - - - Adds the parser to the list of known type parsers. - - - .NET intrinsic types are pre-registerd: short, int, long, float, double, decimal, bool - - - - - Retrieves the named value from the specified . - - may be null - the value's key - if is not null, the value returned by values[name]. null otherwise. - - - - Retrieves the named value from the specified . - - may be null - the value's key - the default value, if not found - if is not null, the value returned by values[name]. null otherwise. - - - - Returns the first nonnull, nonempty value among its arguments. - - - Returns null, if the initial list was null or empty. - - - - - - Returns the first nonnull, nonempty value among its arguments. - - - Also - - - - - Tries parsing into an enum of the type of . - - the default value to return if parsing fails - the string value to parse - the successfully parsed value, otherwise. - - - - Tries parsing into the specified return type. - - the default value to return if parsing fails - the string value to parse - the successfully parsed value, otherwise. - - - - Throws a if is null. - - - - - Throws a if is null. - - - - - Throws a if an object of type is not - assignable to type . - - - - - Throws a if an object of type is not - assignable to type . - - - - - Ensures any exception thrown by the given is wrapped with an - . - - - If already throws a ConfigurationException, it will not be wrapped. - - the action to execute - the message to be set on the thrown - args to be passed to to format the message - - - - Ensures any exception thrown by the given is wrapped with an - . - - - If already throws a ConfigurationException, it will not be wrapped. - - the action to execute - the message to be set on the thrown - args to be passed to to format the message - - - - A delegate converting a string representation into the target type - - - - - An anonymous action delegate with no arguments and no return value. - - - - - - An anonymous action delegate with no arguments and no return value. - - - - - - The type of method that is passed into e.g. - and allows the callback method to "submit" it's message to the underlying output system. - - the format argument as in - the argument list as in - - Erich Eichinger - Used in an application's configuration file (App.Config or Web.Config) to configure the logging subsystem. @@ -2108,430 +3120,6 @@ along with user supplied configuration properties. - - - The 7 possible logging levels - - Gilles Bayon - - - - All logging levels - - - - - A trace logging level - - - - - A debug logging level - - - - - A info logging level - - - - - A warn logging level - - - - - An error logging level - - - - - A fatal logging level - - - - - Do not log anything. - - - - - Use the LogManager's or - methods to obtain instances for logging. - - - For configuring the underlying log system using application configuration, see the example - at . - For configuring programmatically, see the example section below. - - - The example below shows the typical use of LogManager to obtain a reference to a logger - and log an exception: - - - ILog log = LogManager.GetLogger(this.GetType()); - ... - try - { - /* .... */ - } - catch(Exception ex) - { - log.ErrorFormat("Hi {0}", ex, "dude"); - } - - - The example below shows programmatic configuration of the underlying log system: - - - // create properties - NameValueCollection properties = new NameValueCollection(); - properties["showDateTime"] = "true"; - - // set Adapter - Common.Logging.LogManager.Adapter = new - Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter(properties); - - - - - - - - Gilles Bayon - - - - The name of the default configuration section to read settings from. - - - You can always change the source of your configuration settings by setting another instance - on . - - - - - Performs static 1-time init of LogManager by calling - - - - - Reset the infrastructure to its default settings. This means, that configuration settings - will be re-read from section <common/logging> of your app.config. - - - This is mainly used for unit testing, you wouldn't normally use this in your applications.
- Note: instances already handed out from this LogManager are not(!) affected. - Resetting LogManager only affects new instances being handed out. -
-
- - - Reset the infrastructure to its default settings. This means, that configuration settings - will be re-read from section <common/logging> of your app.config. - - - This is mainly used for unit testing, you wouldn't normally use this in your applications.
- Note: instances already handed out from this LogManager are not(!) affected. - Resetting LogManager only affects new instances being handed out. -
- - the instance to obtain settings for - re-initializing the LogManager. - -
- - - Gets the logger by calling - on the currently configured using the type of the calling class. - - - This method needs to inspect the in order to determine the calling - class. This of course comes with a performance penalty, thus you shouldn't call it too - often in your application. - - - the logger instance obtained from the current - - - - Gets the logger by calling - on the currently configured using the specified type. - - the logger instance obtained from the current - - - - Gets the logger by calling - on the currently configured using the specified type. - - The type. - the logger instance obtained from the current - - - - Gets the logger by calling - on the currently configured using the specified name. - - The name. - the logger instance obtained from the current - - - - Builds the logger factory adapter. - - a factory adapter instance. Is never null. - - - - Builds a instance from the given - using . - - - the instance. Is never null - - - - Gets the configuration reader used to initialize the LogManager. - - Primarily used for testing purposes but maybe useful to obtain configuration - information from some place other than the .NET application configuration file. - The configuration reader. - - - - Gets or sets the adapter. - - The adapter. - - - - Container used to hold configuration information from config file. - - Gilles Bayon - - - - - - - The type - that will be used for creating - - - Additional user supplied properties that are passed to the - 's constructor. - - - - - The type that will be used for creating - instances. - - - - - Additional user supplied properties that are passed to the 's constructor. - - - - - This namespace contains all core classes making up the Common.Logging framework. - - - - - This namespace contains out-of-the-box adapters to intrinsic systems, namely - , and the - all output suppressing . - For unit testing, you may also want to have a look at - that allows to easily inspect logged messages. - To route messages logged through the infrastructure back into - Common.Logging, you can use - - - - - This namespace contains various utility classes. - - - - -

Overview

- - There are a variety of logging implementations for .NET currently in use, log4net, Enterprise - Library Logging, NLog, to name the most popular. The downside of having differerent implementation - is that they do not share a common interface and therefore impose a particular logging - implementation on the users of your library. To solve this dependency problem the Common.Logging - library introduces a simple abstraction to allow you to select a specific logging implementation at - runtime. - - - The library is based on work done by the developers of IBatis.NET and it's usage is inspired by - log4net. Many thanks to the developers of those projects! - -

Usage

- - The core logging library Common.Logging provides the base logging interface as - well as the global that you use to instrument your code: - - - ILog log = LogManager.GetLogger(this.GetType()); - - log.DebugFormat("Hi {0}", "dude"); - - - To output the information logged, you need to tell Common.Logging, what underlying logging system - to use. Common.Logging already includes simple console and trace based logger implementations - usable out of the box. Adding the following configuration snippet to your app.config causes - Common.Logging to output all information to the console: - - - <configuration> - <configSections> - <sectionGroup name="common"> - <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" /> - </sectionGroup> - </configSections> - - <common> - <logging> - <factoryAdapter type="Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter, Common.Logging"> - <arg key="level" value="DEBUG" /> - </factoryAdapter> - </logging> - </common> - </configuration> - -

Customizing

- - In the case you want to integrate your own logging system that is not supported by Common.Logging yet, it is easily - possible to implement your own plugin by implementing . - For convenience there is a base implementation available that usually - makes implementing your own adapter a breeze. - -

<system.diagnostics> Integration

- - If your code already uses the .NET framework's built-in System.Diagnostics.Trace - system, you can use to redirect all trace output to the - Common.Logging infrastructure. - -
-
- - - Base factory implementation for creating simple instances. - - Default settings are LogLevel.All, showDateTime = true, showLogName = true, and no DateTimeFormat. - The keys in the NameValueCollection to configure this adapter are the following - - level - showDateTime - showLogName - dateTimeFormat - - - Here is an example how to implement your own logging adapter: - - public class ConsoleOutLogger : AbstractSimpleLogger - { - public ConsoleOutLogger(string logName, LogLevel logLevel, bool showLevel, bool showDateTime, - bool showLogName, string dateTimeFormat) - : base(logName, logLevel, showLevel, showDateTime, showLogName, dateTimeFormat) - { - } - - protected override void WriteInternal(LogLevel level, object message, Exception e) - { - // Use a StringBuilder for better performance - StringBuilder sb = new StringBuilder(); - FormatOutput(sb, level, message, e); - - // Print to the appropriate destination - Console.Out.WriteLine(sb.ToString()); - } - } - - public class ConsoleOutLoggerFactoryAdapter : AbstractSimpleLoggerFactoryAdapter - { - public ConsoleOutLoggerFactoryAdapter(NameValueCollection properties) - : base(properties) - { } - - protected override ILog CreateLogger(string name, LogLevel level, bool showLevel, bool - showDateTime, bool showLogName, string dateTimeFormat) - { - ILog log = new ConsoleOutLogger(name, level, showLevel, showDateTime, showLogName, - dateTimeFormat); - return log; - } - } - - - - - - Gilles Bayon - Mark Pollack - Erich Eichinger - - - - Initializes a new instance of the class. - - - Looks for level, showDateTime, showLogName, dateTimeFormat items from - for use when the GetLogger methods are called. - for more information on how to use the - standard .NET application configuraiton file (App.config/Web.config) - to configure this adapter. - - The name value collection, typically specified by the user in - a configuration section named common/logging. - - - - Initializes a new instance of the class with - default settings for the loggers created by this factory. - - - - - Create the specified logger instance - - - - - Derived factories need to implement this method to create the - actual logger instance. - - a new logger instance. Must never be null! - - - - The default to use when creating new instances. - - - - - The default setting to use when creating new instances. - - - - - The default setting to use when creating new instances. - - - - - The default setting to use when creating new instances. - - - - - The default setting to use when creating new instances. - - Sends log messages to . @@ -2549,6 +3137,18 @@ Include the instance name in the log message. The date and time format to use in the log message. + + + Creates and initializes a logger that writes messages to . + + The name, usually type name of the calling class, of the logger. + The current logging threshold. Messages recieved that are beneath this threshold will not be logged. + Include the current log level in the log message. + Include the current time in the log message. + Include the instance name in the log message. + The date and time format to use in the log message. + Use color when writing the log message. + Do the actual logging by constructing the log message using a then @@ -2601,7 +3201,7 @@ settings. - + Initializes a new instance of the class. @@ -2615,553 +3215,29 @@ The name value collection, typically specified by the user in a configuration section named common/logging. + + + Constructor for binary backwards compatibility with non-portableversions + + The properties. + Initializes a new instance of the class with default settings for the loggers created by this factory. + + + Initializes a new instance of the class with + default settings for the loggers created by this factory. + + Creates a new instance. - - - Silently ignores all log messages. - - Gilles Bayon - Erich Eichinger - - - - Ignores message. - - - - - - Ignores message. - - - - - - - Ignores message. - - The format of the message object to log. - - - - - Ignores message. - - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting information. - The format of the message object to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. - - - - Ignores message. - - - - - - Ignores message. - - - - - - - Ignores message. - - The format of the message object to log. - - - - - Ignores message. - - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting information. - The format of the message object to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Debug. - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Debug. - - - - Ignores message. - - - - - - Ignores message. - - - - - - - Ignores message. - - The format of the message object to log. - - - - - Ignores message. - - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting information. - The format of the message object to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Info. - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Info. - - - - Ignores message. - - - - - - Ignores message. - - - - - - - Ignores message. - - The format of the message object to log. - - - - - Ignores message. - - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting Warnrmation. - The format of the message object to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting Warnrmation. - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Warn. - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Warn. - - - - Ignores message. - - - - - - Ignores message. - - - - - - - Ignores message. - - The format of the message object to log. - - - - - Ignores message. - - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting Errorrmation. - The format of the message object to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting Errorrmation. - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Error. - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Error. - - - - Ignores message. - - - - - - Ignores message. - - - - - - - Ignores message. - - The format of the message object to log. - - - - - Ignores message. - - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting Fatalrmation. - The format of the message object to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting Fatalrmation. - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Fatal. - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Fatal. - - - - Always returns . - - - - - Always returns . - - - - - Always returns . - - - - - Always returns . - - - - - Always returns . - - - - - Always returns . - - - - - Factory for creating instances that silently ignores - logging requests. - - - This logger adapter is the default used by Common.Logging if unconfigured. Using this logger adapter is the most efficient - way to suppress any logging output. - - Below is an example how to configure this adapter: - - <configuration> - - <configSections> - <sectionGroup name="common"> - <section name="logging" - type="Common.Logging.ConfigurationSectionHandler, Common.Logging" - requirePermission="false" /> - </sectionGroup> - </configSections> - - <common> - <logging> - <factoryAdapter type="Common.Logging.Simple.NoOpLoggerFactoryAdapter, Common.Logging"> - <arg key="level" value="ALL" /> - </factoryAdapter> - </logging> - </common> - - </configuration> - - - - - - Gilles Bayon - - - - Constructor - - - - - Constructor - - - - - Get a ILog instance by type - - - - - - - Get a ILog instance by type name - - - - Logger sending everything to the trace output stream using . @@ -3260,7 +3336,7 @@ Initializes a new instance of the class using default settings. - + Initializes a new instance of the class. @@ -3291,14 +3367,5 @@ or . - - - Indicates classes or members to be ignored by NCover - - - Note, the name is chosen, because TestDriven.NET uses it as //ea argument to "Test With... Coverage" - - Erich Eichinger - diff --git a/lib/Net/4.0/Common.Logging.dll b/lib/Net/4.0/Common.Logging.dll deleted file mode 100644 index d5a9c977..00000000 Binary files a/lib/Net/4.0/Common.Logging.dll and /dev/null differ diff --git a/lib/Net/4.0/Common.Logging.xml b/lib/Net/4.0/Common.Logging.xml deleted file mode 100644 index caaa6144..00000000 --- a/lib/Net/4.0/Common.Logging.xml +++ /dev/null @@ -1,3304 +0,0 @@ - - - - Common.Logging - - - - - This assembly contains the core functionality of the Common.Logging framework. - In particular, checkout and for usage information. - - - - - Provides base implementation suitable for almost all logger adapters - - Erich Eichinger - - - - A simple logging interface abstracting logging APIs. - - - - Implementations should defer calling a message's until the message really needs - to be logged to avoid performance penalties. - - - Each log method offers to pass in a instead of the actual message. - Using this style has the advantage to defer possibly expensive message argument evaluation and formatting (and formatting arguments!) until the message gets - actually logged. If the message is not logged at all (e.g. due to settings), - you won't have to pay the peformance penalty of creating the message. - - - - The example below demonstrates using callback style for creating the message, where the call to the - and the underlying only happens, if level is enabled: - - Log.Debug( m=>m("result is {0}", random.NextDouble()) ); - Log.Debug(delegate(m) { m("result is {0}", random.NextDouble()); }); - - - - Mark Pollack - Bruno Baia - Erich Eichinger - - - - Log a message object with the level. - - The message object to log. - - - - Log a message object with the level including - the stack trace of the passed - as a parameter. - - The message object to log. - The exception to log, including its stack trace. - - - - Log a message with the level. - - The format of the message object to log. - the list of format arguments - - - - Log a message with the level. - - The format of the message object to log. - The exception to log. - the list of format arguments - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. - - - - Log a message object with the level. - - The message object to log. - - - - Log a message object with the level including - the stack trace of the passed - as a parameter. - - The message object to log. - The exception to log, including its stack trace. - - - - Log a message with the level. - - The format of the message object to log. - the list of format arguments - - - - Log a message with the level. - - The format of the message object to log. - The exception to log. - the list of format arguments - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Debug. - - - - Log a message object with the level. - - The message object to log. - - - - Log a message object with the level including - the stack trace of the passed - as a parameter. - - The message object to log. - The exception to log, including its stack trace. - - - - Log a message with the level. - - The format of the message object to log. - the list of format arguments - - - - Log a message with the level. - - The format of the message object to log. - The exception to log. - the list of format arguments - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Info. - - - - Log a message object with the level. - - The message object to log. - - - - Log a message object with the level including - the stack trace of the passed - as a parameter. - - The message object to log. - The exception to log, including its stack trace. - - - - Log a message with the level. - - The format of the message object to log. - the list of format arguments - - - - Log a message with the level. - - The format of the message object to log. - The exception to log. - the list of format arguments - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Warn. - - - - Log a message object with the level. - - The message object to log. - - - - Log a message object with the level including - the stack trace of the passed - as a parameter. - - The message object to log. - The exception to log, including its stack trace. - - - - Log a message with the level. - - The format of the message object to log. - the list of format arguments - - - - Log a message with the level. - - The format of the message object to log. - The exception to log. - the list of format arguments - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Error. - - - - Log a message object with the level. - - The message object to log. - - - - Log a message object with the level including - the stack trace of the passed - as a parameter. - - The message object to log. - The exception to log, including its stack trace. - - - - Log a message with the level. - - The format of the message object to log. - the list of format arguments - - - - Log a message with the level. - - The format of the message object to log. - The exception to log. - the list of format arguments - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Fatal. - - - - Checks if this logger is enabled for the level. - - - - - Checks if this logger is enabled for the level. - - - - - Checks if this logger is enabled for the level. - - - - - Checks if this logger is enabled for the level. - - - - - Checks if this logger is enabled for the level. - - - - - Checks if this logger is enabled for the level. - - - - - Holds the method for writing a message to the log system. - - - - - Creates a new logger instance using for - writing log events to the underlying log system. - - - - - - Override this method to use a different method than - for writing log events to the underlying log system. - - - Usually you don't need to override thise method. The default implementation returns - null to indicate that the default handler should be - used. - - - - - Actually sends the message to the underlying log system. - - the level of this log event. - the message to log - the exception to log (may be null) - - - - Log a message object with the level. - - The message object to log. - - - - Log a message object with the level including - the stack trace of the passed - as a parameter. - - The message object to log. - The exception to log, including its stack trace. - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - - - - - Log a message with the level. - - The format of the message object to log. - the list of format arguments - - - - Log a message with the level. - - The format of the message object to log. - The exception to log. - the list of format arguments - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. - - - - Log a message object with the level. - - The message object to log. - - - - Log a message object with the level including - the stack Debug of the passed - as a parameter. - - The message object to log. - The exception to log, including its stack Debug. - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - - - - - Log a message with the level. - - The format of the message object to log. - the list of format arguments - - - - Log a message with the level. - - The format of the message object to log. - The exception to log. - the list of format arguments - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Debug. - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Debug. - - - - Log a message object with the level. - - The message object to log. - - - - Log a message object with the level including - the stack Info of the passed - as a parameter. - - The message object to log. - The exception to log, including its stack Info. - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - - - - - Log a message with the level. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - - - - - Log a message with the level. - - The format of the message object to log. - the list of format arguments - - - - Log a message with the level. - - The format of the message object to log. - The exception to log. - the list of format arguments - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Info. - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Info. - - - - Log a message object with the level. - - The message object to log. - - - - Log a message object with the level including - the stack Warn of the passed - as a parameter. - - The message object to log. - The exception to log, including its stack Warn. - - - - Log a message with the level. - - An that supplies culture-specific formatting Warnrmation. - The format of the message object to log. - - - - - Log a message with the level. - - An that supplies culture-specific formatting Warnrmation. - The format of the message object to log. - The exception to log. - - - - - Log a message with the level. - - The format of the message object to log. - the list of format arguments - - - - Log a message with the level. - - The format of the message object to log. - The exception to log. - the list of format arguments - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Warn. - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Warn. - - - - Log a message object with the level. - - The message object to log. - - - - Log a message object with the level including - the stack Error of the passed - as a parameter. - - The message object to log. - The exception to log, including its stack Error. - - - - Log a message with the level. - - An that supplies culture-specific formatting Errorrmation. - The format of the message object to log. - - - - - Log a message with the level. - - An that supplies culture-specific formatting Errorrmation. - The format of the message object to log. - The exception to log. - - - - - Log a message with the level. - - The format of the message object to log. - the list of format arguments - - - - Log a message with the level. - - The format of the message object to log. - The exception to log. - the list of format arguments - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Error. - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Error. - - - - Log a message object with the level. - - The message object to log. - - - - Log a message object with the level including - the stack Fatal of the passed - as a parameter. - - The message object to log. - The exception to log, including its stack Fatal. - - - - Log a message with the level. - - An that supplies culture-specific formatting Fatalrmation. - The format of the message object to log. - - - - - Log a message with the level. - - An that supplies culture-specific formatting Fatalrmation. - The format of the message object to log. - The exception to log. - - - - - Log a message with the level. - - The format of the message object to log. - the list of format arguments - - - - Log a message with the level. - - The format of the message object to log. - The exception to log. - the list of format arguments - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Fatal. - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Log a message with the level using a callback to obtain the message - - - Using this method avoids the cost of creating a message and evaluating message arguments - that probably won't be logged due to loglevel settings. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Fatal. - - - - Checks if this logger is enabled for the level. - - - Override this in your derived class to comply with the underlying logging system - - - - - Checks if this logger is enabled for the level. - - - Override this in your derived class to comply with the underlying logging system - - - - - Checks if this logger is enabled for the level. - - - Override this in your derived class to comply with the underlying logging system - - - - - Checks if this logger is enabled for the level. - - - Override this in your derived class to comply with the underlying logging system - - - - - Checks if this logger is enabled for the level. - - - Override this in your derived class to comply with the underlying logging system - - - - - Checks if this logger is enabled for the level. - - - Override this in your derived class to comply with the underlying logging system - - - - - Format message on demand. - - - - - Initializes a new instance of the class. - - The format message callback. - - - - Initializes a new instance of the class. - - The format provider. - The format message callback. - - - - Calls and returns result. - - - - - - Format string on demand. - - - - - Initializes a new instance of the class. - - The format provider. - The message. - The args. - - - - Runs on supplied arguemnts. - - string - - - - Represents a method responsible for writing a message to the log system. - - - - - An implementation of that caches loggers handed out by this factory. - - - Implementors just need to override . - - Erich Eichinger - - - - LoggerFactoryAdapter interface is used internally by LogManager - Only developers wishing to write new Common.Logging adapters need to - worry about this interface. - - Gilles Bayon - - - - Get a ILog instance by type. - - The type to use for the logger - - - - - Get a ILog instance by name. - - The name of the logger - - - - - Creates a new instance, the logger cache being case-sensitive. - - - - - Creates a new instance, the logger cache being . - - - - - - Purges all loggers from cache - - - - - Create the specified named logger instance - - - Derived factories need to implement this method to create the - actual logger instance. - - - - - Get a ILog instance by . - - Usually the of the current class. - - An ILog instance either obtained from the internal cache or created by a call to . - - - - - Get a ILog instance by name. - - Usually a 's Name or FullName property. - - An ILog instance either obtained from the internal cache or created by a call to . - - - - - Get or create a ILog instance by name. - - Usually a 's Name or FullName property. - - An ILog instance either obtained from the internal cache or created by a call to . - - - - - A logger created by that - sends all log events to the owning adapter's - - Erich Eichinger - - - - Abstract class providing a standard implementation of simple loggers. - - Erich Eichinger - - - - Creates and initializes a the simple logger. - - The name, usually type name of the calling class, of the logger. - The current logging threshold. Messages recieved that are beneath this threshold will not be logged. - Include level in the log message. - Include the current time in the log message. - Include the instance name in the log message. - The date and time format to use in the log message. - - - - Appends the formatted message to the specified . - - the that receíves the formatted message. - - - - - - - Determines if the given log level is currently enabled. - - - - - - - The name of the logger. - - - - - Include the current log level in the log message. - - - - - Include the current time in the log message. - - - - - Include the instance name in the log message. - - - - - The current logging threshold. Messages recieved that are beneath this threshold will not be logged. - - - - - The date and time format to use in the log message. - - - - - Determines Whether is set. - - - - - Returns if the current is greater than or - equal to . If it is, all messages will be sent to . - - - - - Returns if the current is greater than or - equal to . If it is, all messages will be sent to . - - - - - Returns if the current is greater than or - equal to . If it is, only messages with a of - , , , and - will be sent to . - - - - - Returns if the current is greater than or - equal to . If it is, only messages with a of - , , and - will be sent to . - - - - - Returns if the current is greater than or - equal to . If it is, only messages with a of - and will be sent to . - - - - - Returns if the current is greater than or - equal to . If it is, only messages with a of - will be sent to . - - - - - The adapter that created this logger instance. - - - - - Clears all captured events - - - - - Resets the to null. - - - - - Holds the list of logged events. - - - To access this collection in a multithreaded application, put a lock on the list instance. - - - - - instances send their captured log events to this method. - - - - - Create a new logger instance. - - - - - Create a new and send it to - - - - - - - - Holds the last log event received from any of this adapter's loggers. - - - - - A logging event captured by - - Erich Eichinger - - - - The logger that logged this event - - - - - The level used to log this event - - - - - The raw message object - - - - - A logged exception - - - - - Create a new event instance - - - - - Retrieves the formatted message text - - - - - An adapter, who's loggers capture all log events and send them to . - Retrieve the list of log events from . - - - This logger factory is mainly for debugging and test purposes. - - This is an example how you might use this adapter for testing: - - // configure for capturing - CapturingLoggerFactoryAdapter adapter = new CapturingLoggerFactoryAdapter(); - LogManager.Adapter = adapter; - - // reset capture state - adapter.Clear(); - // log something - ILog log = LogManager.GetCurrentClassLogger(); - log.DebugFormat("Current Time:{0}", DateTime.Now); - - // check logged data - Assert.AreEqual(1, adapter.LoggerEvents.Count); - Assert.AreEqual(LogLevel.Debug, adapter.LastEvent.Level); - - - - Erich Eichinger - - - - Clears all captured events - - - - - Resets the to null. - - - - - Holds the list of logged events. - - - To access this collection in a multithreaded application, put a lock on the list instance. - - - - - instances send their captured log events to this method. - - - - - Get a instance for the given type. - - - - - Get a instance for the given name. - - - - - Holds the last log event received from any of this adapter's loggers. - - - - - A implementation sending all System.Diagnostics.Trace output to - the Common.Logging infrastructure. - - - This listener captures all output sent by calls to System.Diagnostics.Trace and - and and sends it to an instance.
- The instance to be used is obtained by calling - . The name of the logger is created by passing - this listener's and any source or category passed - into this listener (see or for example). -
- - The snippet below shows how to add and configure this listener to your app.config: - - <system.diagnostics> - <sharedListeners> - <add name="Diagnostics" - type="Common.Logging.Simple.CommonLoggingTraceListener, Common.Logging" - initializeData="DefaultTraceEventType=Information; LoggerNameFormat={listenerName}.{sourceName}"> - <filter type="System.Diagnostics.EventTypeFilter" initializeData="Information"/> - </add> - </sharedListeners> - <trace> - <listeners> - <add name="Diagnostics" /> - </listeners> - </trace> - </system.diagnostics> - - - Erich Eichinger -
- - - Creates a new instance with the default name "Diagnostics" and "Trace". - - - - - Creates a new instance initialized with properties from the . string. - - - is a semicolon separated string of name/value pairs, where each pair has - the form key=value. E.g. - "Name=MyLoggerName;LogLevel=Debug" - - a semicolon separated list of name/value pairs. - - - - Creates a new instance initialized with the specified properties. - - name/value configuration properties. - - - - Logs the given message to the Common.Logging infrastructure. - - the eventType - the name or category name passed into e.g. . - the id of this event - the message format - the message arguments - - - - Writes message to logger provided by . - - - - - Writes message to logger provided by . - - - - - Writes message to logger provided by . - - - - - Writes message to logger provided by . - - - - - Writes message to logger provided by . - - - - - Writes message to logger provided by . - - - - - Writes message to logger provided by . - - - - - Writes message to logger provided by - - - - - Writes message to logger provided by - - - - - Writes message to logger provided by - - - - - Writes message to logger provided by - - - - - Writes message to logger provided by - - - - - Writes message to logger provided by - - - - - Sets the default to use for logging - all events emitted by .Write(...) and - .WriteLine(...) methods. - - - This listener captures all output sent by calls to and - sends it to an instance using the specified - on . - - - - - Format to use for creating the logger name. Defaults to "{listenerName}.{sourceName}". - - - Available placeholders are: - - {listenerName}: the configured name of this listener instance. - {sourceName}: the trace source name an event originates from (see e.g. . - - - - - - The exception that is thrown when a configuration system error has occurred with Common.Logging - - Mark Pollack - - - Creates a new instance of the ObjectsException class. - - - - Creates a new instance of the ConfigurationException class. with the specified message. - - - A message about the exception. - - - - - Creates a new instance of the ConfigurationException class with the specified message - and root cause. - - - A message about the exception. - - - The root exception that is being wrapped. - - - - - Creates a new instance of the ConfigurationException class. - - - The - that holds the serialized object data about the exception being thrown. - - - The - that contains contextual information about the source or destination. - - - - - Implementation of that uses the standard .NET - configuration APIs, ConfigurationSettings in 1.x and ConfigurationManager in 2.0 - - Mark Pollack - - - - Interface for basic operations to read .NET application configuration information. - - Provides a simple abstraction to handle BCL API differences between .NET 1.x and 2.0. Also - useful for testing scenarios. - Mark Pollack - - - - Parses the configuration section and returns the resulting object. - - -

- Primary purpose of this method is to allow us to parse and - load configuration sections using the same API regardless - of the .NET framework version. -

-
- Name of the configuration section. - Object created by a corresponding . - -
- - - Parses the configuration section and returns the resulting object. - - Name of the configuration section. - - Object created by a corresponding . - - -

- Primary purpose of this method is to allow us to parse and - load configuration sections using the same API regardless - of the .NET framework version. -

-
- -
- - - This namespace contains convenience base classes for implementing your own s. - - - - - Various utility methods for using during factory and logger instance configuration - - Erich Eichinger - - - - Initialize all members before any of this class' methods can be accessed (avoids beforeFieldInit) - - - - - Adds the parser to the list of known type parsers. - - - .NET intrinsic types are pre-registerd: short, int, long, float, double, decimal, bool - - - - - Retrieves the named value from the specified . - - may be null - the value's key - if is not null, the value returned by values[name]. null otherwise. - - - - Retrieves the named value from the specified . - - may be null - the value's key - the default value, if not found - if is not null, the value returned by values[name]. null otherwise. - - - - Returns the first nonnull, nonempty value among its arguments. - - - Returns null, if the initial list was null or empty. - - - - - - Returns the first nonnull, nonempty value among its arguments. - - - Also - - - - - Tries parsing into an enum of the type of . - - the default value to return if parsing fails - the string value to parse - the successfully parsed value, otherwise. - - - - Tries parsing into the specified return type. - - the default value to return if parsing fails - the string value to parse - the successfully parsed value, otherwise. - - - - Throws a if is null. - - - - - Throws a if is null. - - - - - Throws a if an object of type is not - assignable to type . - - - - - Throws a if an object of type is not - assignable to type . - - - - - Ensures any exception thrown by the given is wrapped with an - . - - - If already throws a ConfigurationException, it will not be wrapped. - - the action to execute - the message to be set on the thrown - args to be passed to to format the message - - - - Ensures any exception thrown by the given is wrapped with an - . - - - If already throws a ConfigurationException, it will not be wrapped. - - the action to execute - the message to be set on the thrown - args to be passed to to format the message - - - - A delegate converting a string representation into the target type - - - - - An anonymous action delegate with no arguments and no return value. - - - - - - An anonymous action delegate with no arguments and no return value. - - - - - - The type of method that is passed into e.g. - and allows the callback method to "submit" it's message to the underlying output system. - - the format argument as in - the argument list as in - - Erich Eichinger - - - - Used in an application's configuration file (App.Config or Web.Config) to configure the logging subsystem. - - - An example configuration section that writes log messages to the Console using the - built-in Console Logger. - - <configuration> - <configSections> - <sectionGroup name="common"> - <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" /> - </sectionGroup> - </configSections> - <common> - <logging> - <factoryAdapter type="Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter, Common.Logging"> - <arg key="showLogName" value="true" /> - <arg key="showDataTime" value="true" /> - <arg key="level" value="ALL" /> - <arg key="dateTimeFormat" value="yyyy/MM/dd HH:mm:ss:fff" /> - </factoryAdapter> - </logging> - </common> - </configuration> - - - - - - Ensure static fields get initialized before any class member - can be accessed (avoids beforeFieldInit) - - - - - Constructor - - - - - Retrieves the of the logger the use by looking at the logFactoryAdapter element - of the logging configuration element. - - - - A object containing the specified type that implements - along with zero or more properties that will be - passed to the logger factory adapter's constructor as an . - - - - - Verifies that the logFactoryAdapter element appears once in the configuration section. - - settings of a parent section - atm this must always be null - Additional information about the configuration process. - The configuration section to apply an XPath query too. - - A object containing the specified logFactoryAdapter type - along with user supplied configuration properties. - - - - - Verifies that the logFactoryAdapter element appears once in the configuration section. - - The parent of the current item. - Additional information about the configuration process. - The configuration section to apply an XPath query too. - - A object containing the specified logFactoryAdapter type - along with user supplied configuration properties. - - - - - The 7 possible logging levels - - Gilles Bayon - - - - All logging levels - - - - - A trace logging level - - - - - A debug logging level - - - - - A info logging level - - - - - A warn logging level - - - - - An error logging level - - - - - A fatal logging level - - - - - Do not log anything. - - - - - Use the LogManager's or - methods to obtain instances for logging. - - - For configuring the underlying log system using application configuration, see the example - at . - For configuring programmatically, see the example section below. - - - The example below shows the typical use of LogManager to obtain a reference to a logger - and log an exception: - - - ILog log = LogManager.GetLogger(this.GetType()); - ... - try - { - /* .... */ - } - catch(Exception ex) - { - log.ErrorFormat("Hi {0}", ex, "dude"); - } - - - The example below shows programmatic configuration of the underlying log system: - - - // create properties - NameValueCollection properties = new NameValueCollection(); - properties["showDateTime"] = "true"; - - // set Adapter - Common.Logging.LogManager.Adapter = new - Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter(properties); - - - - - - - - Gilles Bayon - - - - The name of the default configuration section to read settings from. - - - You can always change the source of your configuration settings by setting another instance - on . - - - - - Performs static 1-time init of LogManager by calling - - - - - Reset the infrastructure to its default settings. This means, that configuration settings - will be re-read from section <common/logging> of your app.config. - - - This is mainly used for unit testing, you wouldn't normally use this in your applications.
- Note: instances already handed out from this LogManager are not(!) affected. - Resetting LogManager only affects new instances being handed out. -
-
- - - Reset the infrastructure to its default settings. This means, that configuration settings - will be re-read from section <common/logging> of your app.config. - - - This is mainly used for unit testing, you wouldn't normally use this in your applications.
- Note: instances already handed out from this LogManager are not(!) affected. - Resetting LogManager only affects new instances being handed out. -
- - the instance to obtain settings for - re-initializing the LogManager. - -
- - - Gets the logger by calling - on the currently configured using the type of the calling class. - - - This method needs to inspect the in order to determine the calling - class. This of course comes with a performance penalty, thus you shouldn't call it too - often in your application. - - - the logger instance obtained from the current - - - - Gets the logger by calling - on the currently configured using the specified type. - - the logger instance obtained from the current - - - - Gets the logger by calling - on the currently configured using the specified type. - - The type. - the logger instance obtained from the current - - - - Gets the logger by calling - on the currently configured using the specified name. - - The name. - the logger instance obtained from the current - - - - Builds the logger factory adapter. - - a factory adapter instance. Is never null. - - - - Builds a instance from the given - using . - - - the instance. Is never null - - - - Gets the configuration reader used to initialize the LogManager. - - Primarily used for testing purposes but maybe useful to obtain configuration - information from some place other than the .NET application configuration file. - The configuration reader. - - - - Gets or sets the adapter. - - The adapter. - - - - Container used to hold configuration information from config file. - - Gilles Bayon - - - - - - - The type - that will be used for creating - - - Additional user supplied properties that are passed to the - 's constructor. - - - - - The type that will be used for creating - instances. - - - - - Additional user supplied properties that are passed to the 's constructor. - - - - - This namespace contains all core classes making up the Common.Logging framework. - - - - - This namespace contains out-of-the-box adapters to intrinsic systems, namely - , and the - all output suppressing . - For unit testing, you may also want to have a look at - that allows to easily inspect logged messages. - To route messages logged through the infrastructure back into - Common.Logging, you can use - - - - - This namespace contains various utility classes. - - - - -

Overview

- - There are a variety of logging implementations for .NET currently in use, log4net, Enterprise - Library Logging, NLog, to name the most popular. The downside of having differerent implementation - is that they do not share a common interface and therefore impose a particular logging - implementation on the users of your library. To solve this dependency problem the Common.Logging - library introduces a simple abstraction to allow you to select a specific logging implementation at - runtime. - - - The library is based on work done by the developers of IBatis.NET and it's usage is inspired by - log4net. Many thanks to the developers of those projects! - -

Usage

- - The core logging library Common.Logging provides the base logging interface as - well as the global that you use to instrument your code: - - - ILog log = LogManager.GetLogger(this.GetType()); - - log.DebugFormat("Hi {0}", "dude"); - - - To output the information logged, you need to tell Common.Logging, what underlying logging system - to use. Common.Logging already includes simple console and trace based logger implementations - usable out of the box. Adding the following configuration snippet to your app.config causes - Common.Logging to output all information to the console: - - - <configuration> - <configSections> - <sectionGroup name="common"> - <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" /> - </sectionGroup> - </configSections> - - <common> - <logging> - <factoryAdapter type="Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter, Common.Logging"> - <arg key="level" value="DEBUG" /> - </factoryAdapter> - </logging> - </common> - </configuration> - -

Customizing

- - In the case you want to integrate your own logging system that is not supported by Common.Logging yet, it is easily - possible to implement your own plugin by implementing . - For convenience there is a base implementation available that usually - makes implementing your own adapter a breeze. - -

<system.diagnostics> Integration

- - If your code already uses the .NET framework's built-in System.Diagnostics.Trace - system, you can use to redirect all trace output to the - Common.Logging infrastructure. - -
-
- - - Base factory implementation for creating simple instances. - - Default settings are LogLevel.All, showDateTime = true, showLogName = true, and no DateTimeFormat. - The keys in the NameValueCollection to configure this adapter are the following - - level - showDateTime - showLogName - dateTimeFormat - - - Here is an example how to implement your own logging adapter: - - public class ConsoleOutLogger : AbstractSimpleLogger - { - public ConsoleOutLogger(string logName, LogLevel logLevel, bool showLevel, bool showDateTime, - bool showLogName, string dateTimeFormat) - : base(logName, logLevel, showLevel, showDateTime, showLogName, dateTimeFormat) - { - } - - protected override void WriteInternal(LogLevel level, object message, Exception e) - { - // Use a StringBuilder for better performance - StringBuilder sb = new StringBuilder(); - FormatOutput(sb, level, message, e); - - // Print to the appropriate destination - Console.Out.WriteLine(sb.ToString()); - } - } - - public class ConsoleOutLoggerFactoryAdapter : AbstractSimpleLoggerFactoryAdapter - { - public ConsoleOutLoggerFactoryAdapter(NameValueCollection properties) - : base(properties) - { } - - protected override ILog CreateLogger(string name, LogLevel level, bool showLevel, bool - showDateTime, bool showLogName, string dateTimeFormat) - { - ILog log = new ConsoleOutLogger(name, level, showLevel, showDateTime, showLogName, - dateTimeFormat); - return log; - } - } - - - - - - Gilles Bayon - Mark Pollack - Erich Eichinger - - - - Initializes a new instance of the class. - - - Looks for level, showDateTime, showLogName, dateTimeFormat items from - for use when the GetLogger methods are called. - for more information on how to use the - standard .NET application configuraiton file (App.config/Web.config) - to configure this adapter. - - The name value collection, typically specified by the user in - a configuration section named common/logging. - - - - Initializes a new instance of the class with - default settings for the loggers created by this factory. - - - - - Create the specified logger instance - - - - - Derived factories need to implement this method to create the - actual logger instance. - - a new logger instance. Must never be null! - - - - The default to use when creating new instances. - - - - - The default setting to use when creating new instances. - - - - - The default setting to use when creating new instances. - - - - - The default setting to use when creating new instances. - - - - - The default setting to use when creating new instances. - - - - - Sends log messages to . - - Gilles Bayon - - - - Creates and initializes a logger that writes messages to . - - The name, usually type name of the calling class, of the logger. - The current logging threshold. Messages recieved that are beneath this threshold will not be logged. - Include the current log level in the log message. - Include the current time in the log message. - Include the instance name in the log message. - The date and time format to use in the log message. - - - - Do the actual logging by constructing the log message using a then - sending the output to . - - The of the message. - The log message. - An optional associated with the message. - - - - Factory for creating instances that write data to . - - - - Below is an example how to configure this adapter: - - <configuration> - - <configSections> - <sectionGroup name="common"> - <section name="logging" - type="Common.Logging.ConfigurationSectionHandler, Common.Logging" - requirePermission="false" /> - </sectionGroup> - </configSections> - - <common> - <logging> - <factoryAdapter type="Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter, Common.Logging"> - <arg key="level" value="ALL" /> - </factoryAdapter> - </logging> - </common> - - </configuration> - - - - - - - Gilles Bayon - Mark Pollack - Erich Eichinger - - - - Initializes a new instance of the class using default - settings. - - - - - Initializes a new instance of the class. - - - Looks for level, showDateTime, showLogName, dateTimeFormat items from - for use when the GetLogger methods are called. - for more information on how to use the - standard .NET application configuraiton file (App.config/Web.config) - to configure this adapter. - - The name value collection, typically specified by the user in - a configuration section named common/logging. - - - - Initializes a new instance of the class with - default settings for the loggers created by this factory. - - - - - Creates a new instance. - - - - - Silently ignores all log messages. - - Gilles Bayon - Erich Eichinger - - - - Ignores message. - - - - - - Ignores message. - - - - - - - Ignores message. - - The format of the message object to log. - - - - - Ignores message. - - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting information. - The format of the message object to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack trace. - - - - Ignores message. - - - - - - Ignores message. - - - - - - - Ignores message. - - The format of the message object to log. - - - - - Ignores message. - - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting information. - The format of the message object to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Debug. - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Debug. - - - - Ignores message. - - - - - - Ignores message. - - - - - - - Ignores message. - - The format of the message object to log. - - - - - Ignores message. - - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting information. - The format of the message object to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting information. - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Info. - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Info. - - - - Ignores message. - - - - - - Ignores message. - - - - - - - Ignores message. - - The format of the message object to log. - - - - - Ignores message. - - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting Warnrmation. - The format of the message object to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting Warnrmation. - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Warn. - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Warn. - - - - Ignores message. - - - - - - Ignores message. - - - - - - - Ignores message. - - The format of the message object to log. - - - - - Ignores message. - - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting Errorrmation. - The format of the message object to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting Errorrmation. - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Error. - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Error. - - - - Ignores message. - - - - - - Ignores message. - - - - - - - Ignores message. - - The format of the message object to log. - - - - - Ignores message. - - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting Fatalrmation. - The format of the message object to log. - the list of message format arguments - - - - Ignores message. - - An that supplies culture-specific formatting Fatalrmation. - The format of the message object to log. - The exception to log. - the list of message format arguments - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Fatal. - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - - - - Ignores message. - - An that supplies culture-specific formatting information. - A callback used by the logger to obtain the message if log level is matched - The exception to log, including its stack Fatal. - - - - Always returns . - - - - - Always returns . - - - - - Always returns . - - - - - Always returns . - - - - - Always returns . - - - - - Always returns . - - - - - Factory for creating instances that silently ignores - logging requests. - - - This logger adapter is the default used by Common.Logging if unconfigured. Using this logger adapter is the most efficient - way to suppress any logging output. - - Below is an example how to configure this adapter: - - <configuration> - - <configSections> - <sectionGroup name="common"> - <section name="logging" - type="Common.Logging.ConfigurationSectionHandler, Common.Logging" - requirePermission="false" /> - </sectionGroup> - </configSections> - - <common> - <logging> - <factoryAdapter type="Common.Logging.Simple.NoOpLoggerFactoryAdapter, Common.Logging"> - <arg key="level" value="ALL" /> - </factoryAdapter> - </logging> - </common> - - </configuration> - - - - - - Gilles Bayon - - - - Constructor - - - - - Constructor - - - - - Get a ILog instance by type - - - - - - - Get a ILog instance by type name - - - - - - - Logger sending everything to the trace output stream using . - - - Beware not to use in combination with this logger as - this would result in an endless loop for obvious reasons! - - - - Gilles Bayon - Erich Eichinger - - - - Creates a new TraceLogger instance. - - whether to use or for logging. - the name of this logger - the default log level to use - Include the current log level in the log message. - Include the current time in the log message. - Include the instance name in the log message. - The date and time format to use in the log message. - - - - Determines if the given log level is currently enabled. - checks if is true. - - - - - Do the actual logging. - - - - - - - - Called after deserialization completed. - - - - - Used to defer message formatting until it is really needed. - - - This class also improves performance when multiple - s are configured. - - - - - Factory for creating instances that send - everything to the output stream. - - - Beware not to use in combination with this logger factory - as this would result in an endless loop for obvious reasons! - - Below is an example how to configure this adapter: - - <configuration> - - <configSections> - <sectionGroup name="common"> - <section name="logging" - type="Common.Logging.ConfigurationSectionHandler, Common.Logging" - requirePermission="false" /> - </sectionGroup> - </configSections> - - <common> - <logging> - <factoryAdapter type="Common.Logging.Simple.TraceLoggerFactoryAdapter, Common.Logging"> - <arg key="level" value="ALL" /> - </factoryAdapter> - </logging> - </common> - - </configuration> - - - - - - - Gilles Bayon - Mark Pollack - Erich Eichinger - - - - Initializes a new instance of the class using default settings. - - - - - Initializes a new instance of the class. - - - Looks for level, showDateTime, showLogName, dateTimeFormat items from - for use when the GetLogger methods are called. - for more information on how to use the - standard .NET application configuraiton file (App.config/Web.config) - to configure this adapter. - - The name value collection, typically specified by the user in - a configuration section named common/logging. - - - - Initializes a new instance of the class with - default settings for the loggers created by this factory. - - - - - Creates a new instance. - - - - - Whether to use .TraceXXXX(string,object[]) methods for logging - or . - - - - - Indicates classes or members to be ignored by NCover - - - Note, the name is chosen, because TestDriven.NET uses it as //ea argument to "Test With... Coverage" - - Erich Eichinger - -
-
diff --git a/src/Spring/Spring.Aop/Spring.Aop.2010.csproj b/src/Spring/Spring.Aop/Spring.Aop.2010.csproj index 505f574e..64889465 100644 --- a/src/Spring/Spring.Aop/Spring.Aop.2010.csproj +++ b/src/Spring/Spring.Aop/Spring.Aop.2010.csproj @@ -94,7 +94,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll System diff --git a/src/Spring/Spring.Aop/packages.config b/src/Spring/Spring.Aop/packages.config index 78ac149d..d8f5f847 100644 --- a/src/Spring/Spring.Aop/packages.config +++ b/src/Spring/Spring.Aop/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/src/Spring/Spring.Core/Spring.Core.2010.csproj b/src/Spring/Spring.Core/Spring.Core.2010.csproj index 5fe58842..9c499b6c 100644 --- a/src/Spring/Spring.Core/Spring.Core.2010.csproj +++ b/src/Spring/Spring.Core/Spring.Core.2010.csproj @@ -94,7 +94,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll diff --git a/src/Spring/Spring.Core/packages.config b/src/Spring/Spring.Core/packages.config index 78ac149d..d8f5f847 100644 --- a/src/Spring/Spring.Core/packages.config +++ b/src/Spring/Spring.Core/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/src/Spring/Spring.Data.NHibernate3/Spring.Data.NHibernate3.2010.csproj b/src/Spring/Spring.Data.NHibernate3/Spring.Data.NHibernate3.2010.csproj index d4bb758e..0e38fd12 100644 --- a/src/Spring/Spring.Data.NHibernate3/Spring.Data.NHibernate3.2010.csproj +++ b/src/Spring/Spring.Data.NHibernate3/Spring.Data.NHibernate3.2010.csproj @@ -59,7 +59,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/src/Spring/Spring.Data.NHibernate3/packages.config b/src/Spring/Spring.Data.NHibernate3/packages.config index c6dbca99..29debb24 100644 --- a/src/Spring/Spring.Data.NHibernate3/packages.config +++ b/src/Spring/Spring.Data.NHibernate3/packages.config @@ -1,6 +1,6 @@  - + \ No newline at end of file diff --git a/src/Spring/Spring.Data.NHibernate4/Spring.Data.NHibernate4.2010.csproj b/src/Spring/Spring.Data.NHibernate4/Spring.Data.NHibernate4.2010.csproj index 0cf6a168..5dc34dec 100644 --- a/src/Spring/Spring.Data.NHibernate4/Spring.Data.NHibernate4.2010.csproj +++ b/src/Spring/Spring.Data.NHibernate4/Spring.Data.NHibernate4.2010.csproj @@ -59,7 +59,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll ..\..\..\packages\Iesi.Collections.4.0.0.4000\lib\net40\Iesi.Collections.dll diff --git a/src/Spring/Spring.Data.NHibernate4/packages.config b/src/Spring/Spring.Data.NHibernate4/packages.config index 6a1fa4dc..c5d780d6 100644 --- a/src/Spring/Spring.Data.NHibernate4/packages.config +++ b/src/Spring/Spring.Data.NHibernate4/packages.config @@ -1,6 +1,6 @@  - + \ No newline at end of file diff --git a/src/Spring/Spring.Data/Spring.Data.2010.csproj b/src/Spring/Spring.Data/Spring.Data.2010.csproj index 37642a16..747bd577 100644 --- a/src/Spring/Spring.Data/Spring.Data.2010.csproj +++ b/src/Spring/Spring.Data/Spring.Data.2010.csproj @@ -77,7 +77,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll System diff --git a/src/Spring/Spring.Data/packages.config b/src/Spring/Spring.Data/packages.config index 78ac149d..d8f5f847 100644 --- a/src/Spring/Spring.Data/packages.config +++ b/src/Spring/Spring.Data/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/src/Spring/Spring.Messaging.Ems/Spring.Messaging.Ems.2010.csproj b/src/Spring/Spring.Messaging.Ems/Spring.Messaging.Ems.2010.csproj index 02e5d1fe..b7e3f645 100644 --- a/src/Spring/Spring.Messaging.Ems/Spring.Messaging.Ems.2010.csproj +++ b/src/Spring/Spring.Messaging.Ems/Spring.Messaging.Ems.2010.csproj @@ -43,7 +43,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll diff --git a/src/Spring/Spring.Messaging.Ems/packages.config b/src/Spring/Spring.Messaging.Ems/packages.config index 78ac149d..d8f5f847 100644 --- a/src/Spring/Spring.Messaging.Ems/packages.config +++ b/src/Spring/Spring.Messaging.Ems/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/src/Spring/Spring.Messaging.Nms/Spring.Messaging.Nms.2010.csproj b/src/Spring/Spring.Messaging.Nms/Spring.Messaging.Nms.2010.csproj index ff99bb07..7a38bad1 100644 --- a/src/Spring/Spring.Messaging.Nms/Spring.Messaging.Nms.2010.csproj +++ b/src/Spring/Spring.Messaging.Nms/Spring.Messaging.Nms.2010.csproj @@ -46,7 +46,7 @@ ..\..\..\lib\Net\2.0\Apache.NMS.dll - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll diff --git a/src/Spring/Spring.Messaging.Nms/packages.config b/src/Spring/Spring.Messaging.Nms/packages.config index 78ac149d..d8f5f847 100644 --- a/src/Spring/Spring.Messaging.Nms/packages.config +++ b/src/Spring/Spring.Messaging.Nms/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/src/Spring/Spring.Messaging/Spring.Messaging.2010.csproj b/src/Spring/Spring.Messaging/Spring.Messaging.2010.csproj index 26c9724e..7d003516 100644 --- a/src/Spring/Spring.Messaging/Spring.Messaging.2010.csproj +++ b/src/Spring/Spring.Messaging/Spring.Messaging.2010.csproj @@ -40,7 +40,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll diff --git a/src/Spring/Spring.Messaging/packages.config b/src/Spring/Spring.Messaging/packages.config index 78ac149d..d8f5f847 100644 --- a/src/Spring/Spring.Messaging/packages.config +++ b/src/Spring/Spring.Messaging/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/src/Spring/Spring.Scheduling.Quartz2/Spring.Scheduling.Quartz2.2010.csproj b/src/Spring/Spring.Scheduling.Quartz2/Spring.Scheduling.Quartz2.2010.csproj index 7a758780..ae6974ed 100644 --- a/src/Spring/Spring.Scheduling.Quartz2/Spring.Scheduling.Quartz2.2010.csproj +++ b/src/Spring/Spring.Scheduling.Quartz2/Spring.Scheduling.Quartz2.2010.csproj @@ -41,12 +41,11 @@ ..\..\..\build\VS.NET.2010\Spring.Scheduling.Quartz2\Release\Spring.Scheduling.Quartz2.XML - - False - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll - ..\..\..\packages\Quartz.2.2.3\lib\net40\Quartz.dll + ..\..\..\packages\Quartz.2.3\lib\net40\Quartz.dll diff --git a/src/Spring/Spring.Scheduling.Quartz2/packages.config b/src/Spring/Spring.Scheduling.Quartz2/packages.config index cc697108..98c0e8ef 100644 --- a/src/Spring/Spring.Scheduling.Quartz2/packages.config +++ b/src/Spring/Spring.Scheduling.Quartz2/packages.config @@ -1,5 +1,5 @@  - - + + \ No newline at end of file diff --git a/src/Spring/Spring.Services/Spring.Services.2010.csproj b/src/Spring/Spring.Services/Spring.Services.2010.csproj index 50b51d0c..e0ce7de7 100644 --- a/src/Spring/Spring.Services/Spring.Services.2010.csproj +++ b/src/Spring/Spring.Services/Spring.Services.2010.csproj @@ -80,7 +80,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll System diff --git a/src/Spring/Spring.Services/packages.config b/src/Spring/Spring.Services/packages.config index 78ac149d..d8f5f847 100644 --- a/src/Spring/Spring.Services/packages.config +++ b/src/Spring/Spring.Services/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/src/Spring/Spring.Template.Velocity/Spring.Template.Velocity.2010.csproj b/src/Spring/Spring.Template.Velocity/Spring.Template.Velocity.2010.csproj index 867f3146..0ca3717b 100644 --- a/src/Spring/Spring.Template.Velocity/Spring.Template.Velocity.2010.csproj +++ b/src/Spring/Spring.Template.Velocity/Spring.Template.Velocity.2010.csproj @@ -57,7 +57,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/src/Spring/Spring.Template.Velocity/packages.config b/src/Spring/Spring.Template.Velocity/packages.config index 78ac149d..d8f5f847 100644 --- a/src/Spring/Spring.Template.Velocity/packages.config +++ b/src/Spring/Spring.Template.Velocity/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/src/Spring/Spring.Testing.Microsoft/Spring.Testing.Microsoft.2010.csproj b/src/Spring/Spring.Testing.Microsoft/Spring.Testing.Microsoft.2010.csproj index b923b81c..f3011a3f 100644 --- a/src/Spring/Spring.Testing.Microsoft/Spring.Testing.Microsoft.2010.csproj +++ b/src/Spring/Spring.Testing.Microsoft/Spring.Testing.Microsoft.2010.csproj @@ -60,7 +60,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/src/Spring/Spring.Testing.Microsoft/packages.config b/src/Spring/Spring.Testing.Microsoft/packages.config index 78ac149d..d8f5f847 100644 --- a/src/Spring/Spring.Testing.Microsoft/packages.config +++ b/src/Spring/Spring.Testing.Microsoft/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/src/Spring/Spring.Testing.NUnit/Spring.Testing.NUnit.2010.csproj b/src/Spring/Spring.Testing.NUnit/Spring.Testing.NUnit.2010.csproj index a535f9fe..e17fc8cc 100644 --- a/src/Spring/Spring.Testing.NUnit/Spring.Testing.NUnit.2010.csproj +++ b/src/Spring/Spring.Testing.NUnit/Spring.Testing.NUnit.2010.csproj @@ -42,7 +42,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/src/Spring/Spring.Testing.NUnit/packages.config b/src/Spring/Spring.Testing.NUnit/packages.config index ee2f82e4..56d83c73 100644 --- a/src/Spring/Spring.Testing.NUnit/packages.config +++ b/src/Spring/Spring.Testing.NUnit/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/src/Spring/Spring.Web.Conversation.NHibernate3/Spring.Web.Conversation.NHibernate3.2010.csproj b/src/Spring/Spring.Web.Conversation.NHibernate3/Spring.Web.Conversation.NHibernate3.2010.csproj index 9a5e7535..fdcadb58 100644 --- a/src/Spring/Spring.Web.Conversation.NHibernate3/Spring.Web.Conversation.NHibernate3.2010.csproj +++ b/src/Spring/Spring.Web.Conversation.NHibernate3/Spring.Web.Conversation.NHibernate3.2010.csproj @@ -41,7 +41,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/src/Spring/Spring.Web.Conversation.NHibernate3/packages.config b/src/Spring/Spring.Web.Conversation.NHibernate3/packages.config index c6dbca99..29debb24 100644 --- a/src/Spring/Spring.Web.Conversation.NHibernate3/packages.config +++ b/src/Spring/Spring.Web.Conversation.NHibernate3/packages.config @@ -1,6 +1,6 @@  - + \ No newline at end of file diff --git a/src/Spring/Spring.Web.Extensions/Spring.Web.Extensions.2010.csproj b/src/Spring/Spring.Web.Extensions/Spring.Web.Extensions.2010.csproj index 126e5e33..0ac5271f 100644 --- a/src/Spring/Spring.Web.Extensions/Spring.Web.Extensions.2010.csproj +++ b/src/Spring/Spring.Web.Extensions/Spring.Web.Extensions.2010.csproj @@ -40,7 +40,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll diff --git a/src/Spring/Spring.Web.Extensions/packages.config b/src/Spring/Spring.Web.Extensions/packages.config index 78ac149d..d8f5f847 100644 --- a/src/Spring/Spring.Web.Extensions/packages.config +++ b/src/Spring/Spring.Web.Extensions/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/src/Spring/Spring.Web.Mvc3/Spring.Web.Mvc3.2010.csproj b/src/Spring/Spring.Web.Mvc3/Spring.Web.Mvc3.2010.csproj index 158be5d1..92d5e925 100644 --- a/src/Spring/Spring.Web.Mvc3/Spring.Web.Mvc3.2010.csproj +++ b/src/Spring/Spring.Web.Mvc3/Spring.Web.Mvc3.2010.csproj @@ -38,7 +38,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll True diff --git a/src/Spring/Spring.Web.Mvc3/packages.config b/src/Spring/Spring.Web.Mvc3/packages.config index 858de1f6..a66e60d0 100644 --- a/src/Spring/Spring.Web.Mvc3/packages.config +++ b/src/Spring/Spring.Web.Mvc3/packages.config @@ -1,6 +1,6 @@  - + diff --git a/src/Spring/Spring.Web.Mvc4/Spring.Web.Mvc4.2010.csproj b/src/Spring/Spring.Web.Mvc4/Spring.Web.Mvc4.2010.csproj index a1d4629c..31a96d6a 100644 --- a/src/Spring/Spring.Web.Mvc4/Spring.Web.Mvc4.2010.csproj +++ b/src/Spring/Spring.Web.Mvc4/Spring.Web.Mvc4.2010.csproj @@ -38,7 +38,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll True diff --git a/src/Spring/Spring.Web.Mvc4/packages.config b/src/Spring/Spring.Web.Mvc4/packages.config index 2fe00377..07679f02 100644 --- a/src/Spring/Spring.Web.Mvc4/packages.config +++ b/src/Spring/Spring.Web.Mvc4/packages.config @@ -1,6 +1,6 @@  - + diff --git a/src/Spring/Spring.Web.Mvc5/Spring.Web.Mvc5.2010.csproj b/src/Spring/Spring.Web.Mvc5/Spring.Web.Mvc5.2010.csproj index e472a827..a69921aa 100644 --- a/src/Spring/Spring.Web.Mvc5/Spring.Web.Mvc5.2010.csproj +++ b/src/Spring/Spring.Web.Mvc5/Spring.Web.Mvc5.2010.csproj @@ -40,7 +40,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll True diff --git a/src/Spring/Spring.Web.Mvc5/packages.config b/src/Spring/Spring.Web.Mvc5/packages.config index c10e60c0..87c33916 100644 --- a/src/Spring/Spring.Web.Mvc5/packages.config +++ b/src/Spring/Spring.Web.Mvc5/packages.config @@ -1,6 +1,6 @@  - + diff --git a/src/Spring/Spring.Web/Spring.Web.2010.csproj b/src/Spring/Spring.Web/Spring.Web.2010.csproj index 47d2599e..df5204f7 100644 --- a/src/Spring/Spring.Web/Spring.Web.2010.csproj +++ b/src/Spring/Spring.Web/Spring.Web.2010.csproj @@ -80,7 +80,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll System diff --git a/src/Spring/Spring.Web/packages.config b/src/Spring/Spring.Web/packages.config index 78ac149d..d8f5f847 100644 --- a/src/Spring/Spring.Web/packages.config +++ b/src/Spring/Spring.Web/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/test/Spring/Spring.Aop.Tests/Spring.Aop.Tests.2010.csproj b/test/Spring/Spring.Aop.Tests/Spring.Aop.Tests.2010.csproj index 4e99d724..31cd9c13 100644 --- a/test/Spring/Spring.Aop.Tests/Spring.Aop.Tests.2010.csproj +++ b/test/Spring/Spring.Aop.Tests/Spring.Aop.Tests.2010.csproj @@ -81,7 +81,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/test/Spring/Spring.Aop.Tests/packages.config b/test/Spring/Spring.Aop.Tests/packages.config index ee2f82e4..56d83c73 100644 --- a/test/Spring/Spring.Aop.Tests/packages.config +++ b/test/Spring/Spring.Aop.Tests/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/test/Spring/Spring.Core.Tests/Spring.Core.Tests.2010.csproj b/test/Spring/Spring.Core.Tests/Spring.Core.Tests.2010.csproj index ca06f49c..80ee26b0 100644 --- a/test/Spring/Spring.Core.Tests/Spring.Core.Tests.2010.csproj +++ b/test/Spring/Spring.Core.Tests/Spring.Core.Tests.2010.csproj @@ -82,7 +82,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll diff --git a/test/Spring/Spring.Core.Tests/packages.config b/test/Spring/Spring.Core.Tests/packages.config index ee2f82e4..56d83c73 100644 --- a/test/Spring/Spring.Core.Tests/packages.config +++ b/test/Spring/Spring.Core.Tests/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/test/Spring/Spring.Data.Integration.Tests/Spring.Data.Integration.Tests.2010.csproj b/test/Spring/Spring.Data.Integration.Tests/Spring.Data.Integration.Tests.2010.csproj index 051f9096..09f5cc42 100644 --- a/test/Spring/Spring.Data.Integration.Tests/Spring.Data.Integration.Tests.2010.csproj +++ b/test/Spring/Spring.Data.Integration.Tests/Spring.Data.Integration.Tests.2010.csproj @@ -79,7 +79,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/test/Spring/Spring.Data.Integration.Tests/packages.config b/test/Spring/Spring.Data.Integration.Tests/packages.config index ee2f82e4..56d83c73 100644 --- a/test/Spring/Spring.Data.Integration.Tests/packages.config +++ b/test/Spring/Spring.Data.Integration.Tests/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/test/Spring/Spring.Data.NHibernate3.Integration.Tests/Spring.Data.NHibernate3.Integration.Tests.2010.csproj b/test/Spring/Spring.Data.NHibernate3.Integration.Tests/Spring.Data.NHibernate3.Integration.Tests.2010.csproj index f256daad..791db487 100644 --- a/test/Spring/Spring.Data.NHibernate3.Integration.Tests/Spring.Data.NHibernate3.Integration.Tests.2010.csproj +++ b/test/Spring/Spring.Data.NHibernate3.Integration.Tests/Spring.Data.NHibernate3.Integration.Tests.2010.csproj @@ -55,7 +55,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/test/Spring/Spring.Data.NHibernate3.Integration.Tests/packages.config b/test/Spring/Spring.Data.NHibernate3.Integration.Tests/packages.config index c199eca5..87b3db7b 100644 --- a/test/Spring/Spring.Data.NHibernate3.Integration.Tests/packages.config +++ b/test/Spring/Spring.Data.NHibernate3.Integration.Tests/packages.config @@ -1,6 +1,6 @@  - + diff --git a/test/Spring/Spring.Data.NHibernate3.Tests/Spring.Data.NHibernate3.Tests.2010.csproj b/test/Spring/Spring.Data.NHibernate3.Tests/Spring.Data.NHibernate3.Tests.2010.csproj index 0d1291d4..b8e902eb 100644 --- a/test/Spring/Spring.Data.NHibernate3.Tests/Spring.Data.NHibernate3.Tests.2010.csproj +++ b/test/Spring/Spring.Data.NHibernate3.Tests/Spring.Data.NHibernate3.Tests.2010.csproj @@ -55,7 +55,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/test/Spring/Spring.Data.NHibernate3.Tests/packages.config b/test/Spring/Spring.Data.NHibernate3.Tests/packages.config index c199eca5..87b3db7b 100644 --- a/test/Spring/Spring.Data.NHibernate3.Tests/packages.config +++ b/test/Spring/Spring.Data.NHibernate3.Tests/packages.config @@ -1,6 +1,6 @@  - + diff --git a/test/Spring/Spring.Data.NHibernate4.Integration.Tests/Spring.Data.NHibernate4.Integration.Tests.2010.csproj b/test/Spring/Spring.Data.NHibernate4.Integration.Tests/Spring.Data.NHibernate4.Integration.Tests.2010.csproj index 3b048c64..de3e0ebc 100644 --- a/test/Spring/Spring.Data.NHibernate4.Integration.Tests/Spring.Data.NHibernate4.Integration.Tests.2010.csproj +++ b/test/Spring/Spring.Data.NHibernate4.Integration.Tests/Spring.Data.NHibernate4.Integration.Tests.2010.csproj @@ -55,7 +55,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll ..\..\..\packages\Iesi.Collections.4.0.0.4000\lib\net40\Iesi.Collections.dll diff --git a/test/Spring/Spring.Data.NHibernate4.Integration.Tests/packages.config b/test/Spring/Spring.Data.NHibernate4.Integration.Tests/packages.config index 0cf8ccea..d9c79570 100644 --- a/test/Spring/Spring.Data.NHibernate4.Integration.Tests/packages.config +++ b/test/Spring/Spring.Data.NHibernate4.Integration.Tests/packages.config @@ -1,6 +1,6 @@  - + diff --git a/test/Spring/Spring.Data.NHibernate4.Tests/Spring.Data.NHibernate4.Tests.2010.csproj b/test/Spring/Spring.Data.NHibernate4.Tests/Spring.Data.NHibernate4.Tests.2010.csproj index f2de5379..b98c3476 100644 --- a/test/Spring/Spring.Data.NHibernate4.Tests/Spring.Data.NHibernate4.Tests.2010.csproj +++ b/test/Spring/Spring.Data.NHibernate4.Tests/Spring.Data.NHibernate4.Tests.2010.csproj @@ -55,7 +55,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll ..\..\..\packages\Iesi.Collections.4.0.0.4000\lib\net40\Iesi.Collections.dll diff --git a/test/Spring/Spring.Data.NHibernate4.Tests/packages.config b/test/Spring/Spring.Data.NHibernate4.Tests/packages.config index 0cf8ccea..d9c79570 100644 --- a/test/Spring/Spring.Data.NHibernate4.Tests/packages.config +++ b/test/Spring/Spring.Data.NHibernate4.Tests/packages.config @@ -1,6 +1,6 @@  - + diff --git a/test/Spring/Spring.Data.Tests/Spring.Data.Tests.2010.csproj b/test/Spring/Spring.Data.Tests/Spring.Data.Tests.2010.csproj index 0301abce..dbdede44 100644 --- a/test/Spring/Spring.Data.Tests/Spring.Data.Tests.2010.csproj +++ b/test/Spring/Spring.Data.Tests/Spring.Data.Tests.2010.csproj @@ -78,7 +78,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/test/Spring/Spring.Data.Tests/packages.config b/test/Spring/Spring.Data.Tests/packages.config index 9c7eb68b..7d892a1d 100644 --- a/test/Spring/Spring.Data.Tests/packages.config +++ b/test/Spring/Spring.Data.Tests/packages.config @@ -1,6 +1,6 @@  - + \ No newline at end of file diff --git a/test/Spring/Spring.Messaging.Ems.Integration.Tests/Spring.Messaging.Ems.Integration.Tests.2010.csproj b/test/Spring/Spring.Messaging.Ems.Integration.Tests/Spring.Messaging.Ems.Integration.Tests.2010.csproj index e95bc148..c43ad6ef 100644 --- a/test/Spring/Spring.Messaging.Ems.Integration.Tests/Spring.Messaging.Ems.Integration.Tests.2010.csproj +++ b/test/Spring/Spring.Messaging.Ems.Integration.Tests/Spring.Messaging.Ems.Integration.Tests.2010.csproj @@ -41,7 +41,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll ..\..\..\packages\NUnit.2.6.3\lib\nunit.framework.dll diff --git a/test/Spring/Spring.Messaging.Ems.Integration.Tests/packages.config b/test/Spring/Spring.Messaging.Ems.Integration.Tests/packages.config index ee2f82e4..56d83c73 100644 --- a/test/Spring/Spring.Messaging.Ems.Integration.Tests/packages.config +++ b/test/Spring/Spring.Messaging.Ems.Integration.Tests/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/test/Spring/Spring.Messaging.Nms.Integration.Tests/Spring.Messaging.Nms.Integration.Tests.2010.csproj b/test/Spring/Spring.Messaging.Nms.Integration.Tests/Spring.Messaging.Nms.Integration.Tests.2010.csproj index ab810e01..a3319c40 100644 --- a/test/Spring/Spring.Messaging.Nms.Integration.Tests/Spring.Messaging.Nms.Integration.Tests.2010.csproj +++ b/test/Spring/Spring.Messaging.Nms.Integration.Tests/Spring.Messaging.Nms.Integration.Tests.2010.csproj @@ -66,7 +66,7 @@ ..\..\..\lib\Net\2.0\Apache.NMS.ActiveMQ.dll - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/test/Spring/Spring.Messaging.Nms.Integration.Tests/packages.config b/test/Spring/Spring.Messaging.Nms.Integration.Tests/packages.config index ee2f82e4..56d83c73 100644 --- a/test/Spring/Spring.Messaging.Nms.Integration.Tests/packages.config +++ b/test/Spring/Spring.Messaging.Nms.Integration.Tests/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/test/Spring/Spring.Messaging.Nms.Tests/Spring.Messaging.Nms.Tests.2010.csproj b/test/Spring/Spring.Messaging.Nms.Tests/Spring.Messaging.Nms.Tests.2010.csproj index 011b38bf..c1b9e752 100644 --- a/test/Spring/Spring.Messaging.Nms.Tests/Spring.Messaging.Nms.Tests.2010.csproj +++ b/test/Spring/Spring.Messaging.Nms.Tests/Spring.Messaging.Nms.Tests.2010.csproj @@ -49,7 +49,7 @@ ..\..\..\lib\Net\2.0\Apache.NMS.ActiveMQ.dll - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/test/Spring/Spring.Messaging.Nms.Tests/packages.config b/test/Spring/Spring.Messaging.Nms.Tests/packages.config index ee2f82e4..56d83c73 100644 --- a/test/Spring/Spring.Messaging.Nms.Tests/packages.config +++ b/test/Spring/Spring.Messaging.Nms.Tests/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/test/Spring/Spring.Messaging.Tests/Spring.Messaging.Tests.2010.csproj b/test/Spring/Spring.Messaging.Tests/Spring.Messaging.Tests.2010.csproj index 60bf7bfb..9c14a8c5 100644 --- a/test/Spring/Spring.Messaging.Tests/Spring.Messaging.Tests.2010.csproj +++ b/test/Spring/Spring.Messaging.Tests/Spring.Messaging.Tests.2010.csproj @@ -38,7 +38,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/test/Spring/Spring.Messaging.Tests/packages.config b/test/Spring/Spring.Messaging.Tests/packages.config index ee2f82e4..56d83c73 100644 --- a/test/Spring/Spring.Messaging.Tests/packages.config +++ b/test/Spring/Spring.Messaging.Tests/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/test/Spring/Spring.Scheduling.Quartz2.Integration.Tests/Spring.Scheduling.Quartz2.Integration.Tests.2010.csproj b/test/Spring/Spring.Scheduling.Quartz2.Integration.Tests/Spring.Scheduling.Quartz2.Integration.Tests.2010.csproj index 6ba5459d..bd145c58 100644 --- a/test/Spring/Spring.Scheduling.Quartz2.Integration.Tests/Spring.Scheduling.Quartz2.Integration.Tests.2010.csproj +++ b/test/Spring/Spring.Scheduling.Quartz2.Integration.Tests/Spring.Scheduling.Quartz2.Integration.Tests.2010.csproj @@ -54,16 +54,15 @@ true - - False - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False ..\..\..\packages\NUnit.2.6.3\lib\nunit.framework.dll - ..\..\..\packages\Quartz.2.2.3\lib\net40\Quartz.dll + ..\..\..\packages\Quartz.2.3\lib\net40\Quartz.dll False @@ -77,6 +76,7 @@ + PreserveNewest diff --git a/test/Spring/Spring.Scheduling.Quartz2.Integration.Tests/app.config b/test/Spring/Spring.Scheduling.Quartz2.Integration.Tests/app.config new file mode 100644 index 00000000..5dd2ddb4 --- /dev/null +++ b/test/Spring/Spring.Scheduling.Quartz2.Integration.Tests/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/test/Spring/Spring.Scheduling.Quartz2.Integration.Tests/packages.config b/test/Spring/Spring.Scheduling.Quartz2.Integration.Tests/packages.config index 02ca8889..7d651beb 100644 --- a/test/Spring/Spring.Scheduling.Quartz2.Integration.Tests/packages.config +++ b/test/Spring/Spring.Scheduling.Quartz2.Integration.Tests/packages.config @@ -1,6 +1,6 @@  - + - + \ No newline at end of file diff --git a/test/Spring/Spring.Scheduling.Quartz2.Tests/Spring.Scheduling.Quartz2.Tests.2010.csproj b/test/Spring/Spring.Scheduling.Quartz2.Tests/Spring.Scheduling.Quartz2.Tests.2010.csproj index 947a129c..69ee3dae 100644 --- a/test/Spring/Spring.Scheduling.Quartz2.Tests/Spring.Scheduling.Quartz2.Tests.2010.csproj +++ b/test/Spring/Spring.Scheduling.Quartz2.Tests/Spring.Scheduling.Quartz2.Tests.2010.csproj @@ -41,16 +41,15 @@ true - - False - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False ..\..\..\packages\NUnit.2.6.3\lib\nunit.framework.dll - ..\..\..\packages\Quartz.2.2.3\lib\net40\Quartz.dll + ..\..\..\packages\Quartz.2.3\lib\net40\Quartz.dll False @@ -92,6 +91,7 @@ + PreserveNewest diff --git a/test/Spring/Spring.Scheduling.Quartz2.Tests/app.config b/test/Spring/Spring.Scheduling.Quartz2.Tests/app.config new file mode 100644 index 00000000..5dd2ddb4 --- /dev/null +++ b/test/Spring/Spring.Scheduling.Quartz2.Tests/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/test/Spring/Spring.Scheduling.Quartz2.Tests/packages.config b/test/Spring/Spring.Scheduling.Quartz2.Tests/packages.config index 02ca8889..7d651beb 100644 --- a/test/Spring/Spring.Scheduling.Quartz2.Tests/packages.config +++ b/test/Spring/Spring.Scheduling.Quartz2.Tests/packages.config @@ -1,6 +1,6 @@  - + - + \ No newline at end of file diff --git a/test/Spring/Spring.Services.Tests/Spring.Services.Tests.2010.csproj b/test/Spring/Spring.Services.Tests/Spring.Services.Tests.2010.csproj index aa997a32..fd66d197 100644 --- a/test/Spring/Spring.Services.Tests/Spring.Services.Tests.2010.csproj +++ b/test/Spring/Spring.Services.Tests/Spring.Services.Tests.2010.csproj @@ -81,7 +81,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/test/Spring/Spring.Services.Tests/packages.config b/test/Spring/Spring.Services.Tests/packages.config index ee2f82e4..56d83c73 100644 --- a/test/Spring/Spring.Services.Tests/packages.config +++ b/test/Spring/Spring.Services.Tests/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/test/Spring/Spring.Template.Velocity.Tests/Spring.Template.Velocity.Tests.2010.csproj b/test/Spring/Spring.Template.Velocity.Tests/Spring.Template.Velocity.Tests.2010.csproj index 10549b7f..d305cea7 100644 --- a/test/Spring/Spring.Template.Velocity.Tests/Spring.Template.Velocity.Tests.2010.csproj +++ b/test/Spring/Spring.Template.Velocity.Tests/Spring.Template.Velocity.Tests.2010.csproj @@ -43,7 +43,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/test/Spring/Spring.Template.Velocity.Tests/packages.config b/test/Spring/Spring.Template.Velocity.Tests/packages.config index ee2f82e4..56d83c73 100644 --- a/test/Spring/Spring.Template.Velocity.Tests/packages.config +++ b/test/Spring/Spring.Template.Velocity.Tests/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/test/Spring/Spring.Testing.Microsoft.Tests/Spring.Testing.Microsoft.Tests.2010.csproj b/test/Spring/Spring.Testing.Microsoft.Tests/Spring.Testing.Microsoft.Tests.2010.csproj index 78f6a447..499e55b7 100644 --- a/test/Spring/Spring.Testing.Microsoft.Tests/Spring.Testing.Microsoft.Tests.2010.csproj +++ b/test/Spring/Spring.Testing.Microsoft.Tests/Spring.Testing.Microsoft.Tests.2010.csproj @@ -43,7 +43,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/test/Spring/Spring.Testing.Microsoft.Tests/packages.config b/test/Spring/Spring.Testing.Microsoft.Tests/packages.config index 78ac149d..d8f5f847 100644 --- a/test/Spring/Spring.Testing.Microsoft.Tests/packages.config +++ b/test/Spring/Spring.Testing.Microsoft.Tests/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/test/Spring/Spring.Testing.NUnit.Tests/Spring.Testing.NUnit.Tests.2010.csproj b/test/Spring/Spring.Testing.NUnit.Tests/Spring.Testing.NUnit.Tests.2010.csproj index 817766d7..7d932524 100644 --- a/test/Spring/Spring.Testing.NUnit.Tests/Spring.Testing.NUnit.Tests.2010.csproj +++ b/test/Spring/Spring.Testing.NUnit.Tests/Spring.Testing.NUnit.Tests.2010.csproj @@ -42,7 +42,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/test/Spring/Spring.Testing.NUnit.Tests/packages.config b/test/Spring/Spring.Testing.NUnit.Tests/packages.config index ee2f82e4..56d83c73 100644 --- a/test/Spring/Spring.Testing.NUnit.Tests/packages.config +++ b/test/Spring/Spring.Testing.NUnit.Tests/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/test/Spring/Spring.Web.Conversation.NHibernate3.Tests/Spring.Web.Conversation.NHibernate3.Tests.2010.csproj b/test/Spring/Spring.Web.Conversation.NHibernate3.Tests/Spring.Web.Conversation.NHibernate3.Tests.2010.csproj index 42bbe60f..94c53c61 100644 --- a/test/Spring/Spring.Web.Conversation.NHibernate3.Tests/Spring.Web.Conversation.NHibernate3.Tests.2010.csproj +++ b/test/Spring/Spring.Web.Conversation.NHibernate3.Tests/Spring.Web.Conversation.NHibernate3.Tests.2010.csproj @@ -60,7 +60,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/test/Spring/Spring.Web.Conversation.NHibernate3.Tests/packages.config b/test/Spring/Spring.Web.Conversation.NHibernate3.Tests/packages.config index c199eca5..87b3db7b 100644 --- a/test/Spring/Spring.Web.Conversation.NHibernate3.Tests/packages.config +++ b/test/Spring/Spring.Web.Conversation.NHibernate3.Tests/packages.config @@ -1,6 +1,6 @@  - + diff --git a/test/Spring/Spring.Web.Mvc3.Tests/Spring.Web.Mvc3.Tests.2010.csproj b/test/Spring/Spring.Web.Mvc3.Tests/Spring.Web.Mvc3.Tests.2010.csproj index ad31c8aa..b9f36377 100644 --- a/test/Spring/Spring.Web.Mvc3.Tests/Spring.Web.Mvc3.Tests.2010.csproj +++ b/test/Spring/Spring.Web.Mvc3.Tests/Spring.Web.Mvc3.Tests.2010.csproj @@ -37,7 +37,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll True diff --git a/test/Spring/Spring.Web.Mvc3.Tests/packages.config b/test/Spring/Spring.Web.Mvc3.Tests/packages.config index 984689fb..75a6bb51 100644 --- a/test/Spring/Spring.Web.Mvc3.Tests/packages.config +++ b/test/Spring/Spring.Web.Mvc3.Tests/packages.config @@ -1,6 +1,6 @@  - + diff --git a/test/Spring/Spring.Web.Mvc4.Tests/Spring.Web.Mvc4.Tests.2010.csproj b/test/Spring/Spring.Web.Mvc4.Tests/Spring.Web.Mvc4.Tests.2010.csproj index 6e27bd3f..38d575f1 100644 --- a/test/Spring/Spring.Web.Mvc4.Tests/Spring.Web.Mvc4.Tests.2010.csproj +++ b/test/Spring/Spring.Web.Mvc4.Tests/Spring.Web.Mvc4.Tests.2010.csproj @@ -37,7 +37,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll True diff --git a/test/Spring/Spring.Web.Mvc4.Tests/packages.config b/test/Spring/Spring.Web.Mvc4.Tests/packages.config index 6406f5d1..65dffc94 100644 --- a/test/Spring/Spring.Web.Mvc4.Tests/packages.config +++ b/test/Spring/Spring.Web.Mvc4.Tests/packages.config @@ -1,6 +1,6 @@  - + diff --git a/test/Spring/Spring.Web.Mvc5.Tests/Spring.Web.Mvc5.Tests.2010.csproj b/test/Spring/Spring.Web.Mvc5.Tests/Spring.Web.Mvc5.Tests.2010.csproj index 4030723c..2070ce1e 100644 --- a/test/Spring/Spring.Web.Mvc5.Tests/Spring.Web.Mvc5.Tests.2010.csproj +++ b/test/Spring/Spring.Web.Mvc5.Tests/Spring.Web.Mvc5.Tests.2010.csproj @@ -39,7 +39,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll True diff --git a/test/Spring/Spring.Web.Mvc5.Tests/packages.config b/test/Spring/Spring.Web.Mvc5.Tests/packages.config index 54f1aef9..e22cacca 100644 --- a/test/Spring/Spring.Web.Mvc5.Tests/packages.config +++ b/test/Spring/Spring.Web.Mvc5.Tests/packages.config @@ -1,6 +1,6 @@  - + diff --git a/test/Spring/Spring.Web.Tests/Spring.Web.Tests.2010.csproj b/test/Spring/Spring.Web.Tests/Spring.Web.Tests.2010.csproj index 4237dfa4..88ea4b51 100644 --- a/test/Spring/Spring.Web.Tests/Spring.Web.Tests.2010.csproj +++ b/test/Spring/Spring.Web.Tests/Spring.Web.Tests.2010.csproj @@ -193,7 +193,7 @@ - ..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll + ..\..\..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll False diff --git a/test/Spring/Spring.Web.Tests/packages.config b/test/Spring/Spring.Web.Tests/packages.config index ee2f82e4..56d83c73 100644 --- a/test/Spring/Spring.Web.Tests/packages.config +++ b/test/Spring/Spring.Web.Tests/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file