Created
May 8, 2012 10:27
-
-
Save tommedema/2634104 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(mediator) { | |
mediator | |
.on('boot.init', function() { | |
console.log('boot init phase, outputting process information:'); | |
console.log('process argv: %j', process.argv); | |
console.log('process execPath: %s', process.execPath); | |
console.log('process working dir: %s', process.cwd()); | |
console.log('process gid: %d', process.getgid()); | |
console.log('process uid: %d', process.getuid()); | |
console.log('node version: %s', process.version); | |
console.log('process pid: %d', process.pid); | |
console.log('process arch: %s', process.arch); | |
console.log('process platform: %s', process.platform); | |
console.log('environment: %s', process.env); | |
}) | |
.on('boot.ready', function() { | |
console.log('boot ready phase'); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment