Hi ,
I have to print the name of the file and the function into a log file. I am using "writeToLog " function for that in all the files and all the functions in that file.
Can anyone let me know about a macro which can be used for this purpose so that the same line of code is written in all the files and functions instead of changing the function name and file name for all the occurrances of writeToLog().
A code snippet for the same will be highly useful.
Thanks
Smita
I have to print the name of the file and the function into a log file. I am using "writeToLog " function for that in all the files and all the functions in that file.
Can anyone let me know about a macro which can be used for this purpose so that the same line of code is written in all the files and functions instead of changing the function name and file name for all the occurrances of writeToLog().
A code snippet for the same will be highly useful.
Thanks
Smita
Comment