forked from domeo/DomeoClient
-
Notifications
You must be signed in to change notification settings - Fork 2
Logging facilities to aid with programming
rkboyce edited this page Aug 28, 2013
·
3 revisions
DomeoClient provides a mechanism whereby you can write logs within your program and have the output from them displayed within the browser. Please see this video on DomeoClient logging.
NOTE: The key shortcut varies depending on your platform and browser. To view logs in Chrome on a PC, use 'cntrl+shift+l'. If you are on a PC with Firefox, try "cntrl+l". TODO: Mac users, please chime in! Is it "Meta+l"?
You can write to the logger from within your code at any time by inserting a line similar to the following:
_domeo.getLogger.debug(this, "message...");
_domeo.getLogger.warn(this, "message...");
_domeo.getLogger.exception(this, "message...");