trying to figure how to use the logging system but can't seem to get it correct. Tried things like Tiggr.Logger.error('test');. suggestions?
trying to figure how to use the logging system but can't seem to get it correct. Tried things like Tiggr.Logger.error('test');. suggestions?
Are you looking for browser's
code
console.log()
/code
?
well ya. but reading the documentation it seemed like you guys had done some custom wrapper using the Tiggr class. Though I am beginning to think that only works when on a mobile device and not in FF. I am juggling so many things. Win7 system with bluestacks, ADB SDK, 7.1" Android US tablet, 10.1" Android China tablet, Samsung Transformer cellphone, Nook Color, iPod Touch, Logitech Revu. Getting wires crossed rofl.
I also read about Trigger.Logger in the api but was not sure how to use it. Is there documentation somewhere? Could you post a one line sample code for the syntax for logging a message in a native mobile app with Logger? How do I view those messages when runningthe app in Android Emulator?
I snuck around the downloaded code some, and it looks like they just derived out some stub functions so they can be enhanced later if needed, so just use the semi-standard js console command I think. To view them on Android Emulator you would prob have to use ADB and issue a shell command to logcat to display that console.log file. Or you could get a free android log monitor onto the emulator and switch back and forth.
We are in the process of updating our JavaScript API. For now just use the browser's: console.log().
When I invoked the console.log('my message') code, Do u know the location of the log file on Android/iOS where I can find the printing?
You would need to use the native SDK (Android/iOS) and run the app in simulator.