I would be more than happy to.  Give me a few hours, and it should be up
by the end of today!

-----Original Message-----
From: Woodruff, Rodney [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 22, 2004 8:35 AM
To: Log4NET User
Subject: RE: DoRender Question


Chase,

Is it possible to share an overview of your solution with the list for
future reference?  Thanks.

-- Rodney

-----Original Message-----
From: Chase Rogers [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 22, 2004 11:00 AM
To: Log4NET User
Subject: RE: DoRender Question

Thanks Nicko, found the solution!

-----Original Message-----
From: Nicko Cadell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 21, 2004 6:27 PM
To: Log4NET User
Subject: RE: DoRender Question


I'm not sure if this answers your question but...

Loggers just forward LoggingEvent objects to Appenders. Appenders render
the event to some form of output. Typically an Appender will use a
Layout object to control how the event is written as text. 

Are you logging an object as the message? Do you need to have a custom
rendering of that object for each appender? Perhaps you could give a
little example.

Cheers,
Nicko

> -----Original Message-----
> From: Chase Rogers [mailto:[EMAIL PROTECTED]
> Sent: 22 December 2004 01:06
> To: [email protected]
> Subject: DoRender Question
> 
> I have a general question: is it possible to have an overridden 
> DoRender method apply to each appender in a logger, instead of having 
> it just apply
> to the logger.   
>  
> The reason i am wandering, is because we need several different text 
> representations of an object, but to do that, we need seperate 
> Renderer methods.
>  
> This is problimatic if you want one logger to call multiple appenders,

> because each appender will get the format of only one DoRender method.
>  
> Does anyone know how to make a DoRender method apply to Appenders 
> instead of loggers?
> 

Reply via email to