jurisv/nodejs.extdirect — pull request #16 by jorisa (2014-02-01 00:21:05+00:00)
Title: Add hook to allow logging route/action/data

Added a function to allow logging processed routes by supplying a function to config.logging, for example:
```javascript
var logger = function(action, method, params) {
params = util.inspect(params, showHidden=false, depth=10, colorize=true);
console.log('Direct Call: %s.%s(%s)', action, method, params);
}

var directCfg = {
namespace: "ExtRemote",
apiName: "REMOTING_API",
apiPath: "/directapi",
classPath: "/direct",
classPrefix: "DX",
relativeUrl: true,
logging: logger // or just specify console.log
};
```

Maybe there are better ways so feel free to not merge at all.