public LogEntry getLast() {
        return entries.get(entries.size() - 1);
    }
A logger stub that stores the log output to a list.

@author bjorncs
config-model/src/test/java/com/yahoo/vespa/model/test/utils/DeployLoggerStub.java