DebugWall Widget v7 - nodeGame/nodegame GitHub Wiki
- status : complete
- version : 7.x
Appearance of the DebugWall widget in the Monitor interface.
Intercepts incoming and outgoing messages and logs, and prints them numbered and timestamped in div.
Warning! Modifies some core functions, therefore its usage in production is not recommended.
-
msgIn
: If FALSE, incoming messages are ignored. -
msgOut
: If FALSE, outgoing messages are ignored. -
log
: If FALSE, log messages are ignored. -
hiddenTypes
: An object containing what is currently hidden in the wall as keys.
// Creates and appends a new DebugWall widget.
var root = document.body;
var chat = node.widgets.append('DebugWall', root);