Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Log File Location

When I call Titanium.API.log() or Titanium.API.info(), where does the log data get written to when I'm testing on the device itself?

— asked April 17th 2010 by Darrell Brogdon
  • log
0 Comments

3 Answers

  • If you compile the project using xcode with device with debug , log and info will appear in the gdb console.

    — answered July 1st 2010 by Dan Tamas
    permalink
    0 Comments
  • What about tapping into it via an event. Developer is then able to display in a custom debug window (in application) for example which is damn useful when building an app cause the emulator is slow as (maybe i need a faster machine :P)

    ps titanium rocks!

    — answered July 1st 2010 by tim vdh
    permalink
    0 Comments
  • Hi Darrell

    Titanium.API.info()is displayed in the titanium application window. is can be seen when running the emulator.

    when you run the iPhone emulator the first thing you see is:
    [INFO] Compiling JavaScript…one moment

    Make sure you have the filter set to info.

    As for logs i'm taking a look now to find out ;)

    — answered April 17th 2010 by Mark Pierce
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.