@infinitetoken/lumber

1.0.0 • Public • Published

Lumber

Cloud logging for NodeJS

Installation

Use the package manager npm to install lumber.

npm install --save @infinitetoken/lumber

Usage

Import the lumber package and initialize it with your app token.

const lumber = require('@infinitetoken/lumber')('your_app_token')

Create some logs with one of six levels.

lumber.info('info')
lumber.debug('debug')
lumber.verbose('verbose')
lumber.warning('warning')
lumber.error('error')
lumber.critical('critical')

Optionally send stringified 'code' to any of the lumber methods.

lumber.info('info', JSON.stringify({ key: 'value' }, null, 2))

App

Lumber has a companion app available for MacOS, Windows, and LInux for viewing messages and errors logged to the cloud by using an optional API key. An API key can be obtained by creating a new app instance in the Lumber app.

Lumber Screenshot

Download the Lumber app

License

Lumber is released under the MIT license. See LICENSE for details.

Readme

Keywords

none

Package Sidebar

Install

npm i @infinitetoken/lumber

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

7.13 kB

Total Files

14

Last publish

Collaborators

  • jayrdeaton