1. With your IDE opened, create a Worklight® Project by clicking the Worklight menu icon at the top of the IDE.
2. Name it LogDemoProject and select a Hybrid Application template.
3. Name your application LogDemoApp. And select Dojo Toolkit.
4. Click Finish when done.
5. Add log statements in the wlCommonInit function in the main .js file in the common directory.
6. Start Worklight Server.
7. Add a mobile device worklight environment.
8. Build and deploy app.
9. Open Worklight console and preview app.
10. Right click in the browser and select Inspect Element.
11. Select the console tab to view the log statements.
11. Done
Full Tutorial w/ instructions: www.KlassAktKreations.com/blog
Twitter: www.twitter.com/KAKreations
Ещё видео!