Hi,
I am currently developing a simple ASP.NET 2.0/C# web application.
I have created a class library where I will store all my business logic and data access, security etc. For the logging I have decided to use log4net as it's readily available and tried and tested.
I am a little confused over how to implement logging in my class library. Reading the api doc I understand you have declare log4net for each class you want to enable logging on however I can't seem to workout where to load in the configuration information for log4net (I have created a basic XML file holding my log4net config information).
Anyone have any pointers for me?
Thanks in advance,
Fz
I am currently developing a simple ASP.NET 2.0/C# web application.
I have created a class library where I will store all my business logic and data access, security etc. For the logging I have decided to use log4net as it's readily available and tried and tested.
I am a little confused over how to implement logging in my class library. Reading the api doc I understand you have declare log4net for each class you want to enable logging on however I can't seem to workout where to load in the configuration information for log4net (I have created a basic XML file holding my log4net config information).
Anyone have any pointers for me?
Thanks in advance,
Fz