appcelerator/hyperloop-common — pull request #1 by infosia (2014-05-26 13:58:30+00:00)
Title: Add ‘log’ parameter to hook init, to make log easier

add log to hook init.

```javascript
exports.init = function(cli, log) {
cli.on('*', {
pre: function(data) {
log.trace('[PRE-HOOK] ⌁'.blue.bold,data.type.green);
},
post: function(data) {
log.trace('[POST-HOOK] ⌁'.blue.bold,data.type.green);
}
});
}
```