enableLogging() and substibutes it by LoggerSwitch.get() logger. Later on at the start() stage we assume that our wrapped LoggerManager has already completely initialized itself and extract a Logger from it.
LoggerSwitch allowes us to supply this logger to it via LoggerSwitch.setPreferred(). This has the effect of all the log messages directed to LoggerSwitch.get() obtained logger being directed to the new Logger unless a recursion error happens.
@author Avalon Development Team
@version CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:33 $
@since 4.0
| |
| |
| |