Pure Javascript standalone logger for Loki.
<script src="js-loki-logger.js"></script>
<script>
// Init Loki Logger using default options
LokiLogger({
url: 'http://LOKI_HOSTNAME/loki/api/v1/push', // Loki push URL (required)
});
</script>
Refer to the example folder
https://github.com/nwehr/prompush
https://stackoverflow.com/questions/19846078/how-to-read-from-chromes-console-in-javascript