Macros for logging progress in a scala collections operation