One of the biggest things I miss about mobile development is remote crash reporting. It was absolutely essential. It was funny at the time because it seemed like such a revolutionary concept but then I realized that I should have been doing this for both languages on the server and in the browser. Now that I’m not doing as much mobile development I started looking for a similar exception aggregation system. I was pleased to find a language agnostic system called Sentry.
If you’d like to take it a step further, you can create a wrapper that instantiates the logger and configures it for you.
You can generate multiple loggers in different classes/files.
var logger = com.restlessThinker.Logger.getLogger('newLogger'); logger.fatal('log this to sentry');
I hope this helps!