Microsoft Identity Integration Server 2003 Developer Reference

Logging

The Logging class provides logging capability. This class has static methods that you can use to create log messages.

Note  You can use this class only in a rules extension because this class uses other rules extension classes.

The Logging class is derived from the System.Object class.

Public Methods

The Logging class has the following public methods.

Method Description
Log

Logs a message with an optional time stamp at a given logging level.

LogException(Exception, String, CSEntry, Boolean)

Logs an exception with information about the calling method, entry in the connector space, and whether the exception was caught and handled.

LogException(Exception, String, String, Boolean)

Logs an exception with information about the calling method, when the exception occurred, and whether the exception was caught and handled.

SetupLogFile

Overrides the file-name and logging-level entries in logging.xml.

Requirements

Product: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.Logging.
Assembly: Requires Logging (in Logging.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also

Logging Rules Extension Messages