Add helper macros for logging