[slf4j-dev] Logger.debug(String, Object[])?

Niclas Hedhman niclas at hedhman.org
Fri Aug 5 17:14:41 CEST 2005


On Friday 05 August 2005 17:29, Ceki Gülcü wrote:
> The Object[] param form has been requested very frequently. It's quite
> a reasonable request. As such, you can expect method accepting
> Object[] as parameter to be added in the near future.

Didn't we at some point say that

 void debug( String format, Object args );

can quite easily take the

  logger.debug( "{} : {} : {}", new Object[] { arg1, arg2, arg3 } );

and therefor the proposed signature would not be needed, but support in 
runtime...


Cheers
Niclas



More information about the slf4j-dev mailing list