Add defines for logging