logentries/le_js — pull request #27 by chrismatheson (2014-11-24 15:29:46+00:00)
Title: adding endpoint option to init function

I have a use case where all requests must flow back through the original domain (no XSS allowed)

to support using logentries from the client side i have creatd a proxy route on the original domain and need to be able to set a custom endpoint for le so that it can hit this endpoint instead of directly connecting to `js.logentires.com`

happy to take suggestions on ways to improve this, but its defiantly a feature i would appreciate seeing in the library if others agree it would be useful.