logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject Re: How to log for a ClassLibrary project, but not a Console Application project?
Date Thu, 16 Feb 2006 03:38:05 GMT
Yes, log4net can be used with WinForm applications and Class Libraries.

How are you initializing log4net in the applications that aren't
logging correctly?

--- Qiu-xia.Zhang@sybase.com wrote:

> Hi 
> I have tried logging for Console Application project. It goes well.
> And I also tried logging in Class Library project (with code 
> like"Logger.Debug("...");")  called by a Console Application project
> (with 
> .config). This is allright too.
> But If I only applied log4net in a Class Library project, or a Class 
> Library project called by a Windows Application project, it didn't
> run 
> well.
> Can log4net  be applied to Windows Application? Class Library?
> How should I config it?
> Thanks in advance.
> 
> Qiu-xia


Mime
View raw message