Move the Mail log macro to the common header

Also change ARC macros to be MCC specific, with a prefix.