logge
a alternate console.log with debug option
Usage
var console = require('../index');
console.debug = true;
console.log("debug = true;");
or
var console = require('../index');
console.debug = false;
console.log("debug = false, console.log will dump nothing");
Refference
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
版本历史
- v1.0.0 初始化版本
欢迎fork和反馈
在issue提问或邮件shiren1118@126.com
License
this gem is released under the MIT License.