Add a couple of useful macros for the common header and add my logger to the repo.