Pretty printer for log is added.