Ceki,
Can you please add 'getLevel()' to the log4j-over-slf4j bridge?
public Level getLevel()
{
return slf4jLogger.isTraceEnabled() ? Level.TRACE :
slf4jLogger.isDebugEnabled() ? Level.DEBUG :
slf4jLogger.isInfoEnabled() ? Level.INFO :
slf4jLogger.isWarnEnabled() ? Level.WARN : Level.ERROR;
}
Without this method, I have to maintain my own version of the bridge so
a piece of software I am required to use will work with the bridge.
Please reconsider adding it to the Category class.
Thanks,
Michael
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of [EMAIL PROTECTED]
> Sent: Wednesday, February 27, 2008 9:09 AM
> To: [email protected]
> Subject: [slf4j-dev] [Bug 74] add getLevel() to Category in
> log4j-over-slf4j
>
> http://bugzilla.slf4j.org/show_bug.cgi?id=74
>
>
> [EMAIL PROTECTED] changed:
>
> What |Removed |Added
> --------------------------------------------------------------
> --------------
> Status|RESOLVED |REOPENED
> Resolution|WONTFIX |
>
>
>
>
> ------- Comment #3 from [EMAIL PROTECTED] 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.
> _______________________________________________
> dev mailing list
> [email protected]
> http://www.slf4j.org/mailman/listinfo/dev
>
_______________________________________________
dev mailing list
[email protected]
http://www.slf4j.org/mailman/listinfo/dev