Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MFC logging API

302 views
Skip to first unread message

Oliver Regenfelder

unread,
Aug 25, 2010, 6:22:54 AM8/25/10
to
Hello,

I am looking for a good logging API for MFC applications.
Ideally something similar to the log4java or java logging APIs.

I know that there are some opensource projects e.g. log4cpp (the
C++ counterpart to log4j) but they require to install various
other tools just for compilation and - if possible - I would
like to avoid that.

The target is a demo application to show how to use some hardware
attached on the serial port. So I would like to avoid having to tell
people they need to install and compile ten other projects
just to be able to compile the demo app code. Especially when some
of them need special knowledge (log4cpp e.g.) just to be able to
build them in Visual Studio.

So does anybody know a good logging api which can be build easily
with Visual Studio and be use in MFC applications?

Best regads,

Oliver

Pavel Pokutnev

unread,
Aug 25, 2010, 8:30:32 AM8/25/10
to
On Aug 25, 12:22 pm, Oliver Regenfelder <oliver.regenfel...@gmx.at>
wrote:

Here is an example of very small logging API: http://www.codeproject.com/KB/debug/xytrace.aspx.

Joseph M. Newcomer

unread,
Aug 25, 2010, 12:26:21 PM8/25/10
to
I have a fairly elaborate logging system; see my Logging ListBox Control on my MVP Tips
site. Feel free to adapt it to your needs.
joe

Joseph M. Newcomer [MVP]
email: newc...@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

0 new messages