2.1.0 Added ability to log objects, pass function that returns string