npm

sfconsole

0.0.6 • Public • Published

desc

redefine console in node

[模块名 : 行号] 信息 [距离初始用时] [距离上次log用时]

url

usage

var console = require('sfconsole')("Module");
//var console = require('sfconsole')("Module", false);
//var console = require('sfconsole')();
 
console.log('log...');
console.warn('warn...');
console.err('err...');
console.info('logs...');
console._log('原始console.log');

Readme

Keywords

Package Sidebar

Install

npm i sfconsole

Weekly Downloads

0

Version

0.0.6

License

MIT

Last publish

Collaborators

  • liberalist