The Log4Net mailing list is a great source of information about using log4Net, in this forum we collect all the messages in the log4net user list and some selected threads from the developer list.
| Author |
Messages |
|
Komyg
 |
| 04/30/2009 12:58 PM |
|
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
|
|
|
|
|
Ross Hinkley
 |
| 04/30/2009 2:18 PM |
|
Check out log4cxx:
http://logging.apache.org/log4cxx
It sounds like that's what you're looking for.
-Ross
On Thu, Apr 30, 2009 at 5:58 AM, Komyg <farmoni@itautec.com> wrote:
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.
|
|
|
|
|
Radovan Raszka
 |
|
Komyg
 |
| 04/30/2009 2:30 PM |
|
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
 |
| 04/30/2009 2:38 PM |
|
In managed code it should be possible to use log4net, try it. I have no own experience with such solution as I am using C# only. Radovan
|
|
|
|
|
Ross Hinkley
 |
| 04/30/2009 3:08 PM |
|
According to the documentation, there should be a managed C++ example in the examples\net\1.1 folder. The link is broken on the site, but digging through log4net 1.2.10, the example still exists in the zip. I have no idea how helpful that will prove to you, I didn't look at it; but it's at least a start.
-Ross
|
|
|
|
|
Rob Prouse
 |
| 04/30/2009 3:30 PM |
|
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
|
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|