A small logging library providing methods for logging.
npm install aslog --save
var aslog = require('aslog');
log.setLevel(log.ERROR); log.setLevel(log.WARN); log.setLevel(log.INFO);
log.error( 'error message' ); log.warn( 'warn message' ); log.info( 'info message' );
npm test
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
- 0.1.0 initial release
- 1.0.0 fixed bug - module constructor wasn't exposed