Common Logging 2.0 API Reference

TraceLoggerFactoryAdapter Constructor

Initializes a new instance of the TraceLoggerFactoryAdapter class.

[Visual Basic]
Public Overloads Sub New( _
   ByVal properties As NameValueCollection _
)
[C#]
TraceLoggerFactoryAdapter(
   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

TraceLoggerFactoryAdapter Class | Common.Logging.Simple Namespace | TraceLoggerFactoryAdapter Constructor Overload List