This is a simple Sinatra app that's deployable to Heroku and can act as a logging bridge for Papertrail.
It uses sinatra-cross_origin to support CORS.
Tiny app to receive async HTTP requests contain logs, then output the payload (http://help.papertrailapp.com/kb/configuration/configuring-centralized-logging-from-javascript/)
Repository from Github https://github.compapertrail/js-log-bridge-app
This is a simple Sinatra app that's deployable to Heroku and can act as a logging bridge for Papertrail.
It uses sinatra-cross_origin to support CORS.
Tiny app to receive async HTTP requests contain logs, then output the payload (http://help.papertrailapp.com/kb/configuration/configuring-centralized-logging-from-javascript/)