One thing I want out of log4j2 is the ability to do pass small-in-number
message parameters without paying the expense of constructing an object
array. I was a bit surprised not to see trace/debug/info/warn/fatal methods
that would accept 1, 2, and 3 message parameters. I think only after there
are 3 do you want to use varargs. This should cover more than 90% of the
common developer cases.

Thoughts?

Cheers,
Paul

Reply via email to