appcelerator/hyperloop-ios — pull request #2 by infosia (2014-05-26 13:59:01+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);
}
});
}
```