You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Zart Colwing <za...@wanadoo.fr> on 2002/03/14 09:59:47 UTC
Adding a Renderer
Please what is the path to add a Renderer with the new 1.2 API ?
it used to be :
Category.getDefaultHierarchy().addRenderer(
MyClass.class, new MyClassRenderer());
But now Category.getDefaultHierarchy() is deprecated -replaced by
LogManager.getLoggerRepository() - but the LoggerRepository interface
does not have a addRendered function.
ZC
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>