[Bug 31] Varargs for Logger methods

http://bugzilla.slf4j.org/show_bug.cgi?id=31 opdecirkel@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |opdecirkel@gmail.com --- Comment #87 from opdecirkel@gmail.com 2011-03-19 05:04:02 CET --- If you need vararg, why not doing adapter: package util; public class Util { public static Object[] va(Object... args) { return args; } } package foo; import static util.Util.va; ... logger.info("a {}, b {}, c c {}", va("A", "B", "C")); ... -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@pixie.qos.ch