1.0.2 • Published 6 years ago

up v1.0.2

Weekly downloads
1,195
License
MIT
Repository
-
Last release
6 years ago

Up application companion library for Node and the browser, providing out of the box solutions for authentication, logging, messaging and more.

Installation

$ npm install up

Logging

Up supports structured logging in the form of JSON written to stdout. To make this process a bit cleaner, up.js provides a Logger as shown here:

const { Logger } = require('up')
const log = new Logger()

log.error('user login attempt failed', { user: 'tobi' })
log.info('user login', { user: 'tobi' })
log.info('user logout', { user: 'tobi' })

The following severity levels are available:

  • debug
  • info
  • warn
  • error
  • fatal

Build Status npm.io npm.io

1.0.2

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago

1.0.0-beta

7 years ago

0.7.0

9 years ago

0.6.2

10 years ago

0.6.1

10 years ago

0.6.0

10 years ago

0.5.2

11 years ago

0.5.1

11 years ago

0.1.0

11 years ago