Add LogObj method