Concrete subclass of ILoggerFactoryAdapter specific to log4net 1.2.10.
For a list of all members of this type, see Log4NetLoggerFactoryAdapter Members .
System.Object
AbstractCachingLoggerFactoryAdapter
Log4NetLoggerFactoryAdapter
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The following configuration property values may be configured:
configType: INLINE|FILE|FILE-WATCH|EXTERNALconfigFile: log4net configuration file path in case of FILE or FILE-WATCHXmlConfigurator.Configure()XmlConfigurator.Configure(System.IO.FileInfo) using configFile.XmlConfigurator.ConfigureAndWatch(System.IO.FileInfo) using configFile.BasicConfigurator.Configure()The following snippet shows how to configure EntLib logging for Common.Logging:
<configuration>
<configSections>
<section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
</configSections>
<common>
<logging>
<factoryAdapter type="Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, Common.Logging.Log4Net">
<arg key="configType" value="FILE" />
<arg key="configFile" value="~/log4net.config" />
</factoryAdapter>
</logging>
</common>
</configuration>
Namespace: Common.Logging.Log4Net
Assembly: Common.Logging.Log4Net (in Common.Logging.Log4Net.dll)
Log4NetLoggerFactoryAdapter Members | Common.Logging.Log4Net Namespace