Author: ceki Date: Mon Jun 2 21:26:36 2008 New Revision: 1035 Modified: slf4j/trunk/log4j-over-slf4j/src/main/java/org/apache/log4j/Category.java
Log: - Trivial implementation of getLevel() method always returning null. See also http://bugzilla.slf4j.org/show_bug.cgi?id=74 Modified: slf4j/trunk/log4j-over-slf4j/src/main/java/org/apache/log4j/Category.java ============================================================================== --- slf4j/trunk/log4j-over-slf4j/src/main/java/org/apache/log4j/Category.java (original) +++ slf4j/trunk/log4j-over-slf4j/src/main/java/org/apache/log4j/Category.java Mon Jun 2 21:26:36 2008 @@ -104,6 +104,24 @@ } return Level.ERROR; } + + /** + * Returns the assigned [EMAIL PROTECTED] Level}, if any, for this Category. + * This implementation always returns null. + * + * @return Level - the assigned Level, can be <code>null</code>. + */ + final public Level getLevel() { + return null; + } + + + /** + * @deprecated Please use [EMAIL PROTECTED] #getLevel} instead. + */ + final public Level getPriority() { + return null; + } /** * Delegates to [EMAIL PROTECTED] org.slf4j.Logger#isTraceEnabled} _______________________________________________ dev mailing list dev@slf4j.org http://www.slf4j.org/mailman/listinfo/dev