logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: ObjectRenderer vs toString()
Date Sat, 04 Feb 2006 04:19:07 GMT

On Feb 3, 2006, at 7:01 PM, Deep Chand wrote:

> Hi,
>
> ObjectRenderer has one method doRender() which returns a string. I
> guess inside the implementation, we are supposed to put whatever we
> want the output to be. So, i dont' see the point of this interface
> i.e. we can simply override toString() method and simply pass that
> object in the %m field.
>
> Am i missing anything?

You may not be able to or want to change the implementation of  
toString().

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message