Add pretty print to console logger