Used in an application's configuration file (App.Config or Web.Config) to configure the logging subsystem.
For a list of all members of this type, see ConfigurationSectionHandler Members.
System.Object
ConfigurationSectionHandler
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
[XML]
<configuration>
<configSections>
<sectionGroup name="iBATIS">
<section name="logging" type="IBatisNet.Common.Logging.ConfigurationSectionHandler, IBatisNet.Common" />
</sectionGroup>
</configSections>
<iBATIS>
<logging>
<logFactoryAdapter type="IBatisNet.Common.Logging.Impl.ConsoleOutLoggerFA, IBatisNet.Common">
<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:SSS" />
</logFactoryAdapter>
</logging>
</iBATIS>
</configuration>
The following aliases are recognized for the type attribute of logFactoryAdapter:
CONSOLE | Alias for IBatisNet.Common.Logging.Impl.ConsoleOutLoggerFA, IBatisNet.Common |
TRACE | Alias for IBatisNet.Common.Logging.Impl.TraceLoggerFA, IBatisNet.Common |
NOOP | Alias IBatisNet.Common.Logging.Impl.NoOpLoggerFA, IBatisNet.Common |
Namespace: IBatisNet.Common.Logging
Assembly: IBatisNet.Common (in IBatisNet.Common.dll)
ConfigurationSectionHandler Members | IBatisNet.Common.Logging Namespace