--- title: Logging weight: 25 pre: "" chapter: false --- ## displayMessage ## **Syntax** 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 ## **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.