Logs a complete message in one call

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: (


void LogMessage(
	string Identifier,
	string Message
Visual Basic
Sub LogMessage ( _
	Identifier As String, _
	Message As String _
Visual C++
void LogMessage(
	String^ Identifier, 
	String^ Message


Type: System..::..String
Identifies the meaning of the the message e.g. name of modeule or method logging the message.
Type: System..::..String
Message to log


Use this for straightforward logging requrements. Writes all information in one command.

Will create a LOGISSUE message in the log if called before a line started by LogStart has been closed with LogFinish. Posible reasons for this are exceptions causing the normal flow of code to be bypassed or logic errors.

This overload is not available through COM, please use "LogMessage(ByVal Identifier As String, ByVal Message As String, ByVal HexDump As Boolean)" with HexDump set False to achieve this effect.

See Also