@nurun-sf/spark-logger
v0.0.0-2
Published
Spark Logger
Downloads
11
Maintainers
Readme
Spark Logger
Purpose
Create a console wrapper that can have log level settings without locking into a lib.
Status
Currently a wrapper for Minilog.
Install
$ npm install @nurun-sf/spark-logger
Usage
var logger = require('@nurun-sf/spark-logger')('logger id');
logger
.debug('whaaa?!')
.info('ohhhh.')
.log('meh.')
.warn('yo!')
.error('HALP!!!');
Roadmap
Add a simple method to set logging level. The Minilog filters are cool but maybe overkill.