http://bugzilla.slf4j.org/show_bug.cgi?id=116
Alexey Kuznetsov <kua...@mail.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kua...@mail.ru --- Comment #31 from Alexey Kuznetsov <kua...@mail.ru> 2009-03-01 17:52:02 --- As for me, I like formatting provided by java.util.Formatter class :) Formatting with '{}' looks strage for me :) But reading all comments I see that there 2 problems: perfomance and java.util.Formatter syntax. May be it would be good idea to add public void errorFmt(String format, Object... args); public void warnFmt(String format, Object... args); public void debugFmt(String format, Object... args); public void traceFmt(String format, Object... args); public void infoFmt(String format, Object... args); to org.slf4j.Logger. 1) That would not break old code. 2) It would be very clean to undertand that here we are using java.util.Formatter and in java doc we could point to perfomace penalty. 3) no isDebugEnabled checks for use new xxxxFmt methods. -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dev mailing list dev@slf4j.org http://www.slf4j.org/mailman/listinfo/dev