To build the sample:
- Replace the token in app/app.jsx with your Logentries token (see below)
- Install node.js version => 0.12
- Install npm install -g webpack (or use the bin path in node_modules below where we call webpack)
- Run npm install
- Run webpack webpack.config.js
- Open app/index.html in a web browser
- Edit the app/js/app.jsx file.
- Replace the "1234_fake_token" with your token and the links will post correctly to your Logentries.com endpoint.
const Logger = require ('./logger.jsx')('1234_fake_token', {trace: true});
becomes
const Logger = require ('./logger.jsx')('your token', {trace: true});