Adapts the EnterpriseLibrary 4.1 logging system to Common.Logging.
For a list of all members of this type, see EntLibLoggerFactoryAdapter Members .
System.Object
AbstractCachingLoggerFactoryAdapter
EntLibLoggerFactoryAdapter
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:
The following snippet shows how to configure EntLib logging for Common.Logging:
<configuration> <configSections> <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" /> <section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> </configSections> <common> <logging> <factoryAdapter type="Common.Logging.EntLib.EntLibLoggerFactoryAdapter, Common.Logging.EntLib41"> <arg key="DefaultPriority" value="-1" /> </factoryAdapter> </logging> </common> <loggingConfiguration name="Logging Application Block" <-- configure enterprise logging application block here --> ... </loggingConfiguration> </configuration>
Namespace: Common.Logging.EntLib
Assembly: Common.Logging.EntLib41 (in Common.Logging.EntLib41.dll)
EntLibLoggerFactoryAdapter Members | Common.Logging.EntLib Namespace