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





------- Comment #7 from [EMAIL PROTECTED]  2008-05-27 21:29 -------
Hello Michael,

It is true that the getLevel method is still not implemented. As you state, it
follows that log4j-over-slf4j cannot be a drop-in replacement if the client
code calls getLevel().

The getLevel method in the original log4j code returns the assigned level of
logger. In most cases, this value is null. On the other hand, the
getEffectiveLevel method performs a hierarchy walk to determine the assigned
level of the closest ancestor.

It may be that in your case getLevel and getAssignedLevel method have the same
meaning. However, in general this is not true. 

Would it be possible for you to invoke getAssignedLevel instead of getLevel in
your code? I mean is that an option?


-- 
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.
_______________________________________________
dev mailing list
[email protected]
http://www.slf4j.org/mailman/listinfo/dev

Reply via email to