-
Notifications
You must be signed in to change notification settings - Fork 1
AppDebug
Deltachaos edited this page Mar 20, 2011
·
5 revisions
This handles the debuging Output. All things going to the Firebug Console (if exists), Adobe AIR Introspector Console (if exists) and the DebuginConsole.
Note: Messages only get displayed if App.config.debug is above 0
App.debug.log('Hello DebugConsole!');
This debugs the message to the Tab 'MyTabName' in the DebugConsole.
App.debug.log('Hello DebugConsole Tab!', 'MyTabName');
Objects and Arrays get automatically encoded to Json.
App.debug.log({
foo: baa
});
debug('Hey, this is easy', 'MyTab');