Added Logging for object

Using node.js’s util.inspect function