Peter:
There was discussion on the subject of log listener related methods prior to the release of logkit during which it was my understanding that the add/remove listener was the preferred approach over a set approach. Could you please point me to the subsequent discussions that indicate the changes in opinion and consensus on this subject which have lead you to commit these changes?
Cheers, Steve.
[EMAIL PROTECTED] wrote:
donaldp 2003/02/28 14:52:53
Modified: src/java/org/apache/log Hierarchy.java
Log:
Deprecate insanity
Revision Changes Path
1.30 +2 -0 avalon-logkit/src/java/org/apache/log/Hierarchy.java
Index: Hierarchy.java
===================================================================
RCS file: /home/cvs/avalon-logkit/src/java/org/apache/log/Hierarchy.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- Hierarchy.java 26 Feb 2003 08:14:39 -0000 1.29
+++ Hierarchy.java 28 Feb 2003 22:52:53 -0000 1.30
@@ -202,6 +202,7 @@
*
* @throws UnsupportedOperationException if no more LoggerListeners are
* permitted.
+ * @deprecated Deprecated and replaced by setLoggerListener(loggerListener)
*/
public synchronized void addLoggerListener( final LoggerListener loggerListener )
{
@@ -225,6 +226,7 @@
* step before adding a new one if you want to change it.
*
* @param loggerListener the LoggerListener
+ * @deprecated Deprecated and replaced by setLoggerListener(null)
*/
public synchronized void removeLoggerListener( final LoggerListener loggerListener )
{
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Stephen J. McConnell mailto:[EMAIL PROTECTED] http://www.osm.net
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
