[slf4j-dev] [Bug 31] New: Varargs for Logger methods

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Mon Oct 16 16:42:36 CEST 2006


show_bug.cgi?id=31

           Summary: Varargs for Logger methods
           Product: SLF4J
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P3
         Component: Core API
        AssignedTo: dev at slf4j.org
        ReportedBy: mgilday at imap.cc


Users of Java 5 would benefit from conveinience methods on org.slf4j.Logger
allowing n arguemnts to be passed to a log request, without the need to
construct an object array first. This could take the form of void debug(String
msg, Object ... args); or void debug(String msg, Throwable t, Object ... args);

Obstacles exist in adding this functionality due to preserving compatbility
with JDK1.2.  An additional "Tiger" module might be required as a wrapper to
the existing implementation.

Existing discussion can be found on the mailing list:
http://www.slf4j.org/pipermail/user/2006-February/000063.html
http://www.slf4j.org/pipermail/user/2006-October/000136.html


-- 
Configure bugmail: 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