question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

log messages on the 'server' side

See original GitHub issue

Is there a way to log messages in the nodejs output as opposed to the developer companion app?

Currently we can see GET requests like so:

[Fri Feb 24 2017 15:35:07 GMT+1100 (AEDT)] "GET /app.js" "Tabris.js/1610131019 CFNetwork/808.3 Darwin/16.3.0"
[Fri Feb 24 2017 15:35:07 GMT+1100 (AEDT)] "GET /modules/SignInPage.js" "Tabris.js/1610131019 CFNetwork/808.3 Darwin/16.3.0"

But it would be very helpful to output messages from application code here, as well as in the developer companion app with console.log()

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
cookiegurucommented, Feb 24, 2017

http://eclipsesource.com/blogs/2015/04/17/debugging-tabris-js/

If you’re using an Android device you can also do this with the Chrome Developer Tools.

0reactions
ralfstxcommented, May 16, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Log JavaScript client side events in your server side logs
Jsnlog is a JavaScript logging package that logs JavaScript errors, AJAX timeouts and other client side events in your server side log. It...
Read more >
Forget about adding log statements to Server Side - ServiceNow
Hi there, Ok don't forget completely about adding log statements to Server Side script :-) Though I wanted to highlight a really nice...
Read more >
JSNLog: Logging JavaScript errors to your server side log
Automatically logs JavaScript exceptions to your server side logs. Lets you log other client side events such as AJAX time outs. Buffers log...
Read more >
GTMTips: Tips For Logging In Server-side Tagging - Simo Ahava
Use Debug Mode to see the content of all outgoing requests. To log outgoing requests into Logs Explorer, you'd need to create new...
Read more >
Server-side Debugging - UserFrosting Documentation
UserFrosting provides a number of tools for debugging issues that can be traced back to server-side code.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found