Simon Kitching wrote:
> The SLF4J fake-varargs approach, where the api allows 0,1 or 2 params is
> slightly better, as it avoids the "new Object[]" call. But for best
> performance, isDebugEnabled should be used anyway.
> 
> Regards,
> Simon

Hi Simon.

The above isn't the case for logback since calls with explicit arguments 
(instead of argument array) are simply wrapped in an Object[] and 
forwarded to the Object[]-implementation of the method.

Joern.

_______________________________________________
user mailing list
user@slf4j.org
http://www.slf4j.org/mailman/listinfo/user

Reply via email to