QPR Knowledge Base

WriteLog

Hide Navigation Pane

WriteLog

Previous topic Next topic No expanding text in this topic  

WriteLog

Previous topic Next topic JavaScript is required for expanding text Mail us feedback on this topic!  

Comments (...)

Revision history:

Introduced in QPR 7.2.1

 

Writes an entry to development client's log.

 

Synopsis:

 

SCApplication.WriteLog(Module, Message, ErrorCode)

 

Parameters:

 

Module: String. Used to identify the location where the message was written or where some error occurred.

Message: String. Message text

ErrorCode: Integer. Value -1 indicates error that is written to log in all cases

 

Required Rights:

 

None.

 

Return Values:

Below are listed the return values that this function can return:

 

None.

 

Example Procedure:

 

SCApplication.WriteLog("openmodel", "model could not be opened", -1)

 

Comments (...)