Lua Console/Log#

../../_images/console.png

The Lua Console can be used to run Lua commands interactively and also displays log messages. Lua commands are run as coroutines, long running commands that yield properly will not cause the UI to freeze.

Settings#

The settings for the Lua Console are stored in settings/console.lua.json.

window.x#
Type:
integer
Default:
200

The window position x coordinate.

Version History

Version

Notes

0.0.1

Added

window.y#
Type:
integer
Default:
30

The window position y coordinate.

Version History

Version

Notes

0.0.1

Added

window.width#
Type:
integer
Default:
600

The window width.

Version History

Version

Notes

0.0.1

Added

window.height#
Type:
integer
Default:
300

The window height.

Version History

Version

Notes

0.0.1

Added

window.show#
Type:
boolean
Default:
false

Show the Lua Console window?

Version History

Version

Notes

0.0.1

Added

maxLines#
Type:
integer
Default:
1000

The maximum lines to show in the console window. This includes input/commands, output and log messages.

Version History

Version

Notes

0.0.1

Added

colors.ERROR#
Type:
integer
Default:
0x911717FF

The color used to display ERROR messages.

Version History

Version

Notes

0.0.1

Added

colors.WARNING#
Type:
integer
Default:
0xb58326FF

The color used to display WARNING messages.

Version History

Version

Notes

0.0.1

Added

colors.DEBUG#
Type:
integer
Default:
0x676F80FF

The color used to display DEBUG messages.

Version History

Version

Notes

0.0.1

Added

colors.INFO#
Type:
integer
Default:
0xFFFFFFFF

The color used to display INFO messages.

Version History

Version

Notes

0.0.1

Added