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--
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
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
-Původní zpráva-
Od: Komyg [mailto:farm...@itautec.com]
Odesláno: 30. dubna 2009 14:30
Komu: log4net-user@logging.apache.org
Předmět: 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.
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
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 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 spe
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