Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 5

...

You can use the Ti.API logging methods within HTML content loaded from the device. Just as a quick refresher, let's take a look at the logging functions available:

  • debug(message) - Creates a Titanium log out of the message parameter and assigns it the log level of debug
  • error(message) - Creates a Titanium log out of the message parameter and assigns it the log level of error
  • info(message) - Creates a Titanium log out of the message parameter and assigns it the log level of info
  • log(type, message) - Creates a Titanium log out of the message parameter and assigns it the log level of the given parameter type
  • warn(message) - Creates a Titanium log out of the message parameter and assigns it the log level of warn

...