[slf4j-dev] [Bug 74] add getLevel() to Category in log4j-over-slf4j

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Fri May 30 18:23:22 CEST 2008


http://bugzilla.slf4j.org/show_bug.cgi?id=74


listid at qos.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #9 from listid at qos.ch  2008-05-30 18:23 -------
Hi Michael,

Let X be the library your are required to use which used log4j. I wonder what
use X makes of Logger.getLevel(). Given that Logger.getLevel may return null,
and given that most loggers do not have a their level set (thus equal to null),
how about if the getLevel() method was implemented as:

public Level getLevel() {
  return null;
}

Would that work for you?


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the slf4j-dev mailing list