we-js-logger
TODO: write out these docs!
Logger for node processes and browser applications with transports to Rollbar and Logentries
Introduction
Usage
Configuration
Examples
Development
In lieu of a formal style guide, please ensure PRs follow the conventions present, and have been properly linted and tested. Feel free to open issues to discuss.
Be aware this module is tested in both browser and node runtimes.
Available tasks
Build and test
Runs all tests, static analysis, and bundle for distribution
$ npm start
Test
Runs browser and node tests
$ npm test
Runs browser tests via PhantomJS only
$ npm run test:browser
Runs browser tests via SauceLabs only
$ SAUCELABS=true npm run test:browser
Runs node tests only
$ npm run test:node
Docs
Regenerate API.md
docs from JSDoc comments
$ npm run docs
Release
We're using np
to simplify publishing to npm. We have two targets preconfigured, for others go ahead an use np
directly.
$ npm run release:pre
$ npm run release:patch