cus-log
A custom and easy-to-use Logger for Node.js
Last updated 3 years ago by lumitedubbz .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cus-log 
SYNC missed versions from official npm registry.

cus-log

A custom and easy-to-use Logger for Node.js

Installation

npm install cus-log

Example

const Logger = require('cus-log');

Logger.log(1, 'DEBUG severity level.');
Logger.debug('DEBUG.');

Logger.log(1, 'WARN severity level.');
Logger.warn('WARN.');

Logger.log(1, 'ERROR severity level.');
Logger.error('ERROR.');

Logger.customLog('LTS', 'rainbow', 'RAINBOW TEXT.');

Current Tags

  • 1.0.3                                ...           latest (3 years ago)

4 Versions

  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 2
This Month 2
Last Day 0
Last Week 0
Last Month 3
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |