log module now prints objects