The MessageLog JavaScript global object. Print message to the Message Log view or set on/off the debug mode.
More...
The MessageLog JavaScript global object. Print message to the Message Log view or set on/off the debug mode.
MessageLog allows scripts to write in the message log windows.
◆ clearLog
void MessageLog::clearLog |
( |
| ) |
|
|
slot |
◆ debug
void MessageLog::debug |
( |
const String & |
messageIfDebug | ) |
|
|
slot |
Prints message to message log when in debug mode.
◆ error
void MessageLog::error |
( |
const String & |
message | ) |
|
|
slot |
Prints message to message log as an error.
When running as an interactive application, this will report the error in a modal dialog box (at the end of the script only). In batch mode, the error is logged to the log file, like trace().
◆ getLog
String MessageLog::getLog |
( |
| ) |
|
|
slot |
◆ isDebug
bool MessageLog::isDebug |
( |
| ) |
|
|
slot |
◆ setDebug
void MessageLog::setDebug |
( |
bool |
b | ) |
|
|
slot |
◆ trace
void MessageLog::trace |
( |
const String & |
message | ) |
|
|
slot |
Prints message to message log.