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

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Wed Feb 27 15:08:47 CET 2008


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


michael.newcomb at gdc4s.com changed:

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




------- Comment #3 from michael.newcomb at gdc4s.com  2008-02-27 15:08 -------

Currently I have to modify the log4j-over-slf4j bridge just to do the
following:

public Level getLevel()
{
  return slf4jLogger.isTraceEnabled() ? Level.TRACE :
    slf4jLogger.isDebugEnabled() ? Level.DEBUG :
    slf4jLogger.isInfoEnabled() ? Level.INFO :
    slf4jLogger.isWarnEnabled() ? Level.WARN : Level.ERROR;
}

Can you please, please, pretty please ;) add this to the Category class?


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