Skip to content

wework/we-js-logger

Repository files navigation

we-js-logger

TODO: write out these docs!

Build Status Coverage Status NPM version NPM downloads MIT License

Sauce Test Status

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 # prerelease $ npm run release:patch # patch release

About

Universal logger with transports to Rollbar and Logentries. Uses bunyan under the hood.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5