-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
None
There are a lot of methods on Logger. Well I propose we add a bunch more.
We should add variations of debugf and tracef which support the following argument combinations:
String fmt, int arg String fmt, int arg1, Object arg2 String fmt, int arg1, int arg2 String fmt, int arg1, int arg2, Object arg3 String fmt, int arg1, int arg2, Object... args String fmt, long arg String fmt, long arg1, Object arg2 String fmt, long arg1, long arg2 String fmt, long arg1, long arg2, Object arg3 String fmt, long arg1, long arg2, Object... args
The level check would happen before boxing the primitive argument values, preventing the cost of boxing from being incurred for debug/trace messages.