1
Answer

Can I use log4net in VB, CPP and C APIs for a consistent logging across my application?

Photo of Rajesh Reddy

Rajesh Reddy

15y
2.6k
1

Hi,
My application has APIs built in VB, C++, C and Vb.net. I would like to maintain consistent logging across my application.
I can use Log4CPP, Log4C etc in respective APIs but can I use only log4net to log information in all VB, C++ and C APIs (using regasm)?
Appreciate your thoughts!
Thanks
Rajesh

Answers (1)

0
Photo of Mahesh Chand
2 286.9k 123.8m 15y
I think log4net is for .NET only.  You can use in a VB.NET application but I am not sure about unmanaged code.