logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deep Chand <dgisc...@gmail.com>
Subject ObjectRenderer vs toString()
Date Sat, 04 Feb 2006 01:01:59 GMT
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?

Thanks,
Deep

---------------------------------------------------------------------
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