public int getWatchTermCount(String watchTerm) {
        if (watchTerms != null && watchTerms.containsKey(watchTerm)) {
            return watchTerms.get(watchTerm).get();
        }
        return 0;
    }
This logger can also look out for lines being written in the log.
stroom-util/src/main/java/stroom/util/logging/LoggerPrintStream.java