Allows logging of objects by using either the object's toString method (if available) or util.inspect