[slf4j-dev] [Bug 278] New: addition of new methods: Logger.debug(String format, Throwable t, Object... arguments)

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Fri Nov 2 17:57:33 CET 2012


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

           Summary: addition of new methods: Logger.debug(String format,
                    Throwable t, Object... arguments)
           Product: SLF4J
           Version: 1.6.x
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: minor
          Priority: P1
         Component: Core API
        AssignedTo: slf4j-dev at qos.ch
        ReportedBy: kap4020 at gmail.com


I feel there is a few missing methods in Logger, that which take in a String
format, Object arguments, and a Throwable.

I understand that the varargs argument needs to be last, but it would be nice
to have methods that take in all three:
* error(String msg, Throwable t, Object... arguments)
* debug(String msg, Throwable t, Object... arguments)
* info(String msg, Throwable t, Object... arguments)
* warn(String msg, Throwable t, Object... arguments)
* trace(String msg, Throwable t, Object... arguments)

And a similar set with a Marker argument.

Thoughts?

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


More information about the slf4j-dev mailing list