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);
		}
	});
}
```