System::ReportEvent

System::ReportEvent is a method that will send a message to the system event log, or if executing in the ObjectDatabase++ GUI Editor, the message log at the bottom of the frame. If the tscript is running on native Windows, then the message will be sent to Event Viewer application, and on Linux, to the syslog file.

public System::ReportEvent(
   WString Message,
   Integer Type = System::EVENTLOG_INFORMATION
);

Parameters

Messagean Unicode WString containing the message to be displayed.
Typewill default to System::EVENTLOG_INFORMATION.

Return Values

None.

Remarks

Example Use
  • TScript
main(){
   System::ReportEvent(u"Hello to all, "
      u"I have made it to this position in the script");
}

Since

TScript Version 1.9

Also See

Systen::MessageBox, CTScript::SetParameter
Listen All
Comments (0)
Characters left: 2500
 
Ekky Software Homepage T-Accounts Online ObjectDatabase++ TScript Ekky Software Homepage T-Accounts Onlinee ObjectDatabase++ TScript