Andy Malakov wrote:
Hello All,
Will it be possible to add var-args logging method to
java.util.logging.Logger class?
It will be nice to have
Logger.log (Level level, String msg, Object ... varags) in addition to
existing Logger.log (Level level, String msg, Object [] varags) ?
So that one can write
logger.log (Level.FINEST, "User {0} submitted {1}", user, request)
rather than
logger.log (Level.FINEST, "User {0} submitted {1}", new Object [] {
user, request}) ?
If this is not the right place to post such suggestions, please advise
where should I go?
Best regards,
Andy
It has come a few times (see [1], [2], and the linked bugs). It just
needs a volunteer to run with it, check for any issues, etc.
-Alan.
[1] http://bugs.sun.com/view_bug.do?bug_id=5001993
[2] http://bugs.sun.com/view_bug.do?bug_id=6540440