process-logger
v0.1.0
Published
Prefix child process console logging
Downloads
6
Readme
process-logger
Prefix child process console logging
Usage
var logProcess = require('process-logger'),
spawn = require('child_process').spawn;
var child = spawn('ls');
logProcess(child, {prefix: '[child]'});
// Output
//$ [child] README.md
//$ [child] lib
//$ [child] node_modules
//$ [child] package.json
//$ [child] src
//$ [child] test