We use log4net in our managed C++ and even have wrappers to call it from our Native code and it works quite well. If you know a bit of C#, then those examples should get you up and running. It works the same, you just need to translate the syntax over to C++.
Rob Prouse -----Original Message----- From: Komyg [mailto:farm...@itautec.com] Sent: April-30-09 8:30 AM To: log4net-user@logging.apache.org Subject: RE: Log4Net in C++ Yes, I think that is what I am looking for, thank you very much. Please note that I am writing managed code, so in this case should I use log4net instead of log4cxx? Thanks, Komyg Radovan Raszka wrote: > > If you are writing unmanaged code, you should use log4cxx, see > http://logging.apache.org/log4cxx/index.html, > http://logging.apache.org/log4cxx/apidocs/index.html. There is also > log4cxx-user mailing list, try to subscribe. > > Log4net is for managed code only, I think. > > Radovan > > -----Původní zpráva----- > Od: Komyg [mailto:farm...@itautec.com] > Odesláno: 30. dubna 2009 12:58 > Komu: log4net-user@logging.apache.org > Předmět: Log4Net in C++ > > > Hi, does anyone know if I can use log4net with C++ and Visual Studio 2008 > Express? If so can you point me to some tutorials, I have spent quite some > time looking for those, but they seem to have completely eluded me. > > Also if it is not at all possible to use log4net with C++, can you > recommend me another logging api? > > Thanks, > Komyg > -- > View this message in context: > http://www.nabble.com/Log4Net-in-C%2B%2B-tp23313958p23313958.html > Sent from the Log4net - Users mailing list archive at Nabble.com. > > > -- View this message in context: http://www.nabble.com/Log4Net-in-C%2B%2B-tp23313958p23315333.html Sent from the Log4net - Users mailing list archive at Nabble.com.