[slf4j-dev] Better printing method signatures?

Ceki Gülcü listid at qos.ch
Sat Jun 18 22:02:37 CEST 2005


Niclas,

I am glad to hear that you like the proposal. Even if Object[] is an
Object, I still wonder if we should introduce one more method
debug(String, Object[]) for consistencies sake. (It's a small detail.)

Looking at the javadocs for Logger [1], I can't help but notice how
weird the argument name "parameterizedMsg" looks. So instead of

   debug(String parameterizedMsg, Object param1)

maybe we should write

   debug(String format, Object param1)

or maybe just

   debug(String msg, Object param1)

Comments? Opinions? Niclas? Anybody else?

At 03:25 PM 6/17/2005, Niclas Hedhman wrote:
>On Friday 17 June 2005 20:58, Ceki Gülcü wrote:
> > Is there a use case I am missing? Comments?
>
>I think what you have revised to is a lot clearer from a 'consumption' point
>of view. Fairly deterministic without loads of documentation. I think it also
>simplifies the runtime resolution a lot.
>
>
>Anybody else have opinion?
>
>
>Cheers
>Niclas

-- 
Ceki Gülcü

   The complete log4j manual: http://www.qos.ch/log4j/





More information about the slf4j-dev mailing list