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

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Wed Mar 31 15:19:01 CEST 2010


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





--- Comment #80 from Ralph Goers <rgoers at apache.org>  2010-03-31 15:19:01 ---
An added bit of information. As part of my work on Log4j 2.0 I discovered that
there is significant overhead in using varargs. The technique used by SLF4J of
providing 1, 2, 3 parameters and then 3 + varargs reduces the overhead
considerably. This was true even when there were no parameters being passed.


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