Common Logging 2.0 API Reference

AbstractSimpleLoggerFactoryAdapter Constructor

Initializes a new instance of the AbstractSimpleLoggerFactoryAdapter class.

[Visual Basic]
Protected Sub New( _
   ByVal properties As NameValueCollection _
)
[C#]
AbstractSimpleLoggerFactoryAdapter(
   NameValueCollection properties
);

Parameters

properties
The name value collection, typically specified by the user in a configuration section named common/logging.

Remarks

Looks for level, showDateTime, showLogName, dateTimeFormat items from properties for use when the GetLogger methods are called. ConfigurationSectionHandler for more information on how to use the standard .NET application configuraiton file (App.config/Web.config) to configure this adapter.

See Also

AbstractSimpleLoggerFactoryAdapter Class | Common.Logging.Simple Namespace