Log4NetLoggerFactory Class |
Namespace: PDTec.IceNet.Sdk.Utils
public class Log4NetLoggerFactory : ILoggerFactory
The Log4NetLoggerFactory type exposes the following members.
Name | Description | |
---|---|---|
Log4NetLoggerFactory | Initializes a new instance of the Log4NetLoggerFactory class |
Name | Description | |
---|---|---|
CreateLogger |
Creates a log4net-compatible ILogger implementation.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
To enable log4net logging add the following entry to the configuration file:
<ice.net>
<logging factory="PDTec.IceNet.Sdk.Utils.Log4NetLoggerFactory,PDTec.IceNet.Sdk" />
</ice.net>