pglezen 01/08/21 09:06:06 Modified: src/java/org/apache/log4j Hierarchy.java Log: Added some javadoc comments to clarify some recent changes to the following methods: enable(Priority) getEnable() isDisabled(int) Revision Changes Path 1.25 +9 -3 jakarta-log4j/src/java/org/apache/log4j/Hierarchy.java Index: Hierarchy.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/Hierarchy.java,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- Hierarchy.java 2001/08/09 20:16:31 1.24 +++ Hierarchy.java 2001/08/21 16:06:05 1.25 @@ -247,6 +247,12 @@ enable(Priority.ALL); } + /** + Enable logging for events with priority p or higher. + + @param p the minimum priority for which events are sent to + their appenders. + @since 1.1.3 */ public void enable(Priority p) { if(p != null) { @@ -281,8 +287,8 @@ } /** - Returns the string representation of the internal - <code>disable</code> state. + Returns a {@link Priority} representation of the + <code>enable</code> state. @since 1.2 */ @@ -399,7 +405,7 @@ } /** - @deprecated No replacement offered. + @deprecated See {@link #getEnable} for similar functionality. */ public --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]