http://bugzilla.slf4j.org/show_bug.cgi?id=158
--- Comment #2 from Marco Behler <m...@bwso.de> 2009-10-29 13:21:57 --- (In reply to comment #1) > Hello Marci, > > Try the following syntax: > > logger.debug("Bla bla {}", new Object[] {stringArray}); > Hi Ceki, this works almost as expected. Just a bit about my use case: I have to write some Java command line wrappers (like someCommand.sh -param1 value1 -param2 value2 -param3 value3) at the moment and would like to print out the complete command that gets executed. Now with new Object[] {array} Slf4j will output [someComand.exe, -param1, -value1, -param2], though I'd like to be able to just cut & paste the entire command into my shell and run it, without having to delete the commas. To cut a long story short, your suggestion works, but it could be made a bit more convenient - on the other hand I understand if it's too much hassle and doesn't fit into the current api. Anyway, thanks for slf4j! :) -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dev mailing list dev@slf4j.org http://www.slf4j.org/mailman/listinfo/dev