#define FUNCTION_NAME(...) printf(__VA_ARGS__) #define LOG_FUNC_IMPL(file, line, ...) printf("%s:%d: ", file, line);printf(__VA_ARGS__) #define LOG_FUNC(...) LOG_FUNC_IMPL(__FILE__,__LINE__, ...)