Logging module for both Appcelerator Titanium & node.js