[slf4j-dev] [Bug 158] New: Placeholder resolution for logger method varargs

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Thu Oct 29 12:07:14 CET 2009


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

           Summary: Placeholder resolution for logger method varargs
           Product: SLF4J
           Version: 1.5.x
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: Core API
        AssignedTo: dev at slf4j.org
        ReportedBy: mb at bwso.de


Hi guys,
just wondering if this feature could possibly be implemented:

Suppose I have the following log statement:

logger.debug("Bla bla {}", stringArray);

with a String array parameter, which's size I don't know beforehand. Could we
get a special syntax, like [{}] that resolves all array parameters (possibly
with spaces), instead of {} which will just print out the first one?

Cheers!


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