Console logging facilities.
The toplevel console
support is intended to supplement Titanium.API
and make it easier for developers to port existing javascript code
(especially CommonJS modules) to Titanium.
Note that console
does not currently implement the complete
firebug specification.
Our support is roughly equivalent to that offered by
node.js's console.
Log a message at the debug
level.
The message to log can either be a single argument, or any number of arguments, which will be converted to strings and then concatenated together with a space character.
The message(s) to log.
Log a message at the error
level.
The message to log can either be a single argument, or any number of arguments, which will be converted to strings and then concatenated together with a space character.
The message(s) to log.
Log a message at the info
level.
The message to log can either be a single argument, or any number of arguments, which will be converted to strings and then concatenated together with a space character.
The message(s) to log.
Log a message at the info
level.
The message to log can either be a single argument, or any number of arguments, which will be converted to strings and then concatenated together with a space character.
Note that this method has different behavior from Titanium.API.log, which can take multiple arguments, but in doing so interprets the first argument as a custom log level.
The message(s) to log.
Log a message at the warn
level.
The message to log can either be a single argument, or any number of arguments, which will be converted to strings and then concatenated together with a space character.
The message(s) to log.