Click or drag to resize

Log4NetLoggerFactory Class

Logger factory for log4net-compatible logging.
Inheritance Hierarchy
SystemObject
  PDTec.IceNet.Sdk.UtilsLog4NetLoggerFactory

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public class Log4NetLoggerFactory : ILoggerFactory

The Log4NetLoggerFactory type exposes the following members.

Constructors
  NameDescription
Public methodLog4NetLoggerFactory
Initializes a new instance of the Log4NetLoggerFactory class
Top
Methods
  NameDescription
Public methodCreateLogger
Creates a log4net-compatible ILogger implementation.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

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>
See Also