Skip to content

Commit

Permalink
issue #75: logging the prnting process
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly committed Dec 21, 2020
1 parent de859ec commit 4836e26
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/de/gwdg/metadataqa/marc/cli/Validator.java
Original file line number Diff line number Diff line change
Expand Up @@ -258,16 +258,23 @@ public void processRecord(MarcRecord marcRecord, int i) {

@Override
public void afterIteration(int numberOfprocessedRecords) {
logger.info("printCounter");
printCounter(numberOfprocessedRecords);

char separator = getSeparator();
if (parameters.doSummary()) {
logger.info("printSummary");
printSummary(separator);
logger.info("printCategoryCounts");
printCategoryCounts();
logger.info("printTypeCounts");
printTypeCounts();
logger.info("printTotalCounts");
printTotalCounts();
logger.info("printCollector");
printCollector();
}
logger.info("all printing is DONE");
}

private void printCounter(int numberOfprocessedRecords) {
Expand Down

0 comments on commit 4836e26

Please sign in to comment.