Common.Logging
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
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.