logTimecards(timecards);
}
private void logTimecards(TimecardSummaryVO[] timecards) {
Formatter formatter = new Formatter();
formatter.format(TimecardHdrFormat, "Submitter", "Approver", "Status", "Start Date");
logger.info(formatter.toString());
for (int i = 0; i < timecards.length; i++) {
formatter = new Formatter();
formatter.format(
TimecardRowFormat,
timecards[i].getSubmitterName(),
timecards[i].getApproverName(),
timecards[i].getStatus(),
timecards[i].getStartDate());
logger.info(formatter.toString());
}
}