Logging 5s2w3j

displayMessage u6kr

Syntax 2o344k

emu.displayMessage(category, text)

Parameters
category - String The category is the portion shown between brackets []
text - String Text to show on the screen

Return value
None

Description
Displays a message on the main window in the format “[category] text”

log 374l6t

Syntax

emu.log(text)

Parameters
text - String Text to log

Return value
None

Description
Logs the given string in the script’s log window - useful for debugging scripts.