May I ask you why exactly you are doing this? Doing these do not really make any sense at all, because in the first place, it doesn't even supply you with something regular defines can't handle.
EDIT:
Bazzy beat me to it, I was actually thinking that was the case too. But still the question remains, why do this? There might not be a point in doing it or there could be a reasonable way to do it instead.
ofc there is a reason.
In the moment im creating real functions for logging with macros. this works fine and it saves a lot of time. my problem is that it would be nice to create this functions as macros. this is good cause of the performance. then you can disable the logging wihtout any functions calls and performance loose.
well my logging is a little bit difficulter. the application has about 20 different modules and every different modul should log into different files. then i use different log level definition for each modul and you should disable each of them seperatly. if you write this defines manually for all 20 modules you need to much time and hundreds of lines of code.
Thats why i create the logging functions with macros. but like i said this are real functions and not macros....