Replaceable logger object with trivial default implementation and macros for internal use