add instance logging macro