We are printing the input params of a method for debug purposes:
public void findUser(User user, String abc, Date startDate, Date endDate, Integer rpp){
log.debug("start findUser: user {}, startDate {}, endDate {}, abc{}, rpp {}", user, startDate, endDate, abc, rpp);
....
Writing such log messages is very annoying and error-prone.
Is there a way to achieve the same (or similar) log messages without all the manual work?