All Projects → apex → Up.js

apex / Up.js

Up application companion library for Node and the browser

Programming Languages

javascript
184084 projects - #8 most used programming language

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, the rest is handled by Up. 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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].