to be clear, I wasn't against using macros for logging, for the things like above inline functions should be used