![]() |
|
|
|
#1
|
|||
|
|||
|
Hi,
maybe you can take a look at hxxp://www.codeproject.com/debug/dbg.asp ... ... even if this one doesn't fit your needs, you can take some ideas from there Kerstin |
|
#2
|
||||
|
||||
|
Thanks for the info.
I read the CDebugPrintf source, it doesn't embed __FILE__/__LINE__ into log lines. My conclusion is that only Macros with a variable number of arguments can do the job. That is, only C99-compatible c++ compilers. Actually I have implemented such a logger with GCC(what a splendid compiler!) I have tested Intel c++ compiler v8.1, it's a pity that its "/Qc99" option only works with pure C programs, neither c++ programs nor c/c++ mixed programs. http://softwareforums.intel.com/ids/board/message?board.id=16&message.id=1643#M1643 I will try to see whether GCC for Windows can compile my MFC program.
__________________
AKA Solomon/blowfish. Last edited by WhoCares; 01-06-2005 at 13:29. |
|
#3
|
|||
|
|||
|
Hi,
May this is helpful (or useless) : xxxx://logging.apache.org/log4cxx/ If you are familiar with Log4j you won't be disappointed. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [C++] Simple Anti-Debug trick | Mahmoudnia | Source Code | 1 | 07-17-2022 20:13 |