Solution 1
This is the most simple way to append simple log strings to a file if DEBUG is defined.

Solution 2
C++ answer for the same thing
Retrieved from http://hyacinth.byus.net/moniwiki/wiki.php/C++/문자열 로그 파일 기록
last modified 2018-05-15 15:48:49