0.1.1 • Published 10 years ago
rocketlog v0.1.1
RocketLog (WIP)
Bring console.log to terminal. Say goodbye to 'The console had gone before I opening the dev tool!'.
Screenshot

Install
$ npm install rocketlog -g # Global RocketLog to run socket server.<script src="path/to/rocketlog.js"></script>or use CommonJS:
$ npm install rocketlogconst Rocket = require('rocketlog');Usage
Rocket.log('This is log')
Rocket.error('This is error')
Rocket.warn('This is warn')Notes
You should remove the whole
rocketlog.jsin production environment without worring about theRocket.log()not work. It will work when there is noRocketLogasconsole.log().Connecting to socket server needs some time. So the faster console before connecting to socket server will not display on terminal.
License
MIT License