Log objects, allowing console output to be nested