Thursday, February 09, 2012
 
The best way to analyze your logs! Minimize
 Log4Net Mail archive   

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.

Subject: Working with C++
Prev Next
You are not authorized to post a reply.

Author Messages
ceo@triplebit.com

02/19/2009 6:19 AM  
I have a mixed project with C# and C++. I use happily the logger in C# but don't know how to use it from C++.
Is there any sample for that?
Regards
I. Lesher
Radovan Raszka

02/19/2009 7:31 AM  
 
Radovan Raszka
 
ceo@triplebit.com

02/20/2009 8:24 PM  
Thanks,
But I am already using log4net in my solution in the C# projects. What exactly do I have to do to integrate the C++ logger?
Can you or somebody else elaborate please(the documentation is quite difficult for me)?
Regards
I. lesher
daniel.nitecki@o-i.com

02/20/2009 9:37 PM  

I built a COM wrapper using the code in the message below as a model:
http://marc.info/?l=log4net-user&m=111281577717078&w=2

This is working fine for me from Borland C++ (and VB6 for that matter).  As long as you know how to
reference COM objects from your flavor of C++, I think it should work for you as well.

Regards,

Dan

You are not authorized to post a reply.
Forums > Log4Net > Log4Net Mail archive > Working with C++



ActiveForums 3.7

 

 

 

 

 

 

 

 

Log4Net Dashboard

Log analysis and monitoring made easy!

Log4Net Dashboard is a log viewer that can read log statements from a variety of logging output targets.

You can download a free developer version.

  

Check it out!

On the demonstration site you can try it  with live data.demo.l4ndash.com - Try Log4Net Dashboard with live data

The mail archive is a copy of all the mail sent to the mail address: log4net-user@logging.apache.org, organized as a forum.

If you would like to participate in the mail list, send a mail to log4net-user-subscribe@logging.apache.org.

More information about the mailing list is available on: http://logging.apache.org/log4net/support.html

 

A complete topic list is available and can be viewed here (warning, it takes some time to load)

 

Copyright 2005-2008 by FaktNet AS Terms Of Use Privacy Statement