P
poison.summer
Hello
I am writing a big project, where I generate a log file.
However, I wonder whether there is some easy way that I could turn off
the log file.
Do I need to specify in every fprintf line like this
if(DEBUG)
fprintf(...);
end
Thanks a lot!
I am writing a big project, where I generate a log file.
However, I wonder whether there is some easy way that I could turn off
the log file.
Do I need to specify in every fprintf line like this
if(DEBUG)
fprintf(...);
end
Thanks a lot!