Ron,
        Log4Net doesn't support registering for events, it just logs when
you tell it to. I think the most straigh forward way to implement this
would be to make a simple event sink that logs via log4net and register
that on the events you are interested in.

On Tue, 7 Jun 2005, Ron Grabowski wrote:

> Suppose I have an object that when processes things internally raises
> events to give status updates.
>
> Is it possible to configure log4net in such a way that it registers for
> these events then logs the message through the log4net framework?
>
> I'd like to do this via the xml config file.
>
>
>

-- 
Niall Daley
Log4net Dev

Reply via email to