log decorator should take options and print data which is relevant