[#issue-84] add simple macro system to print formatted debug messages