added compile-time macro for overloaded Format function