Adds a message to the ASCOM serial trace file

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public void LogMessage(
	string Caller,
	string Message
)
Visual Basic
Public Sub LogMessage ( _
	Caller As String, _
	Message As String _
)
Visual C++
public:
virtual void LogMessage(
	String^ Caller, 
	String^ Message
) sealed

Parameters

Caller
Type: System..::..String
String identifying the module logging the message
Message
Type: System..::..String
Message text to be logged.

Implements

ISerial..::..LogMessage(String, String)

Remarks

This can be called regardless of whether logging is enabled

See Also