Debug only macros only get called on the debug compiled version of the code.
When compiling a release version of the code, the logging does not get called. Moreover, on most compilers these macros will get optimize away so as to remove the implementation completely.
Using a debug version of the macros may be desirable when efficiency is crucial in a section of the code, and the logging is impacting performance.
These macros may also be favorable when the logging information is too sensitive. If the logging information contains proprietary data, or data that can cause a security risk, than it would be risky to allow the release version of the code to log such information.
Generated on Wed Mar 29 00:31:09 2006 for EzLogger by