Microsoft Identity Integration Server 2003 Developer Reference

Logging.Log

The Log method logs a message with an optional time stamp at a given logging level.
[C#]
public void Log(
  String logMessage,
  Boolean addTimeStamp,
  Int32 loggingLevel
);
[Visual Basic .NET]
Public Sub Log( _
  ByVal logMessage As String, _
  ByVal addTimeStamp As Boolean, _
  ByVal loggingLevel As Int32 _
)
Implements Logging.Log

Parameters

logMessage
The message to log.
addTimeStamp
Whether to include a time stamp.
loggingLevel
The logging level at which the message is written to the log.

Return Values

This method has no return values.

Remarks

The message is logged only if the loggingLevel is less than or equal to the level set 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