cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <>
Subject RE: [RT] Logging in Cocoon
Date Thu, 27 May 2004 13:22:06 GMT
Jorg Heymans wrote:
> Is this change transparent to the end-user? I mean all I need 
> to do ATM to print logging statements is getLogger().debug() 
> or worste case implement Loggable.
> Will this change then transparently hand you a log4j logger 
> or do I need to declare one of those pesky private static 
> final Logger logger = Logger.getLogger(myclass.class) in each class?
No, no - of course this is completly transparent. We will not loose
the IoC for loggers.
So getLogger() returns you a Log4J logger - you don't have to 
change a single line in your code.


View raw message