- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I created a new app, with today's version (Sorry where do I find the XDK version number?) using App Designer, Ionic/Angular, and console.log is not outputting anything to the debug console.
Is there a switch to enable this somewhere?
If I enable ...
app.LOG = app.LOG || true ;
...then I get logging from init-app . js but not from my app . js
- Tags:
- HTML5
- Intel® XDK
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created another app an it seems to be working there, so must be my error somewhere??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nothing special required to make console.log work. That bit you found in init-app.js is specific to that file, just a very simple redirection of console.log messages that make it easier to turn them on and off for that file. You can use whatever technique you prefer for logging.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page