[slf4j-dev] [Bug 184] Log array contents if only one parameter is specified in log string

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Fri Jul 16 15:30:12 CEST 2010


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


Martin Ždila <m.zdila at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.zdila at gmail.com




--- Comment #1 from Martin Ždila <m.zdila at gmail.com>  2010-07-16 15:30:11 ---
I am giving a small vote for this bug, but there is better "workaround":
log.debug(".... {}", new Object[] { myArray });

This "workaround" will also work for multiple substitutions:
log.debug(".... {} {} {}", new Object[] { "something", myArray, 4 });


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