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

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Tue May 27 20:48:38 CEST 2008


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





------- Comment #6 from michael.newcomb at gdc4s.com  2008-05-27 20:48 -------
getLevel() is still not implemented...

So, if using this as a drop in replacement for log4j will not work if the code
calls getLevel(), which in my case, it does...

I'm not understanding the logic as to why getLevel() can't be implemented.

On one hand:

"log4j-over-slf4j is merely a wrapper around an SLF4J logger"

but on the other:

"getLevel method requires that one has access to the internals of a real log4j
logger arranged in a hierarchy"

If the wrapper 'is not a perfect log4j API replacement', then I submit
getLevel() and getEffectiveLevel() are the same.


-- 
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