@Override
    public void log(Level level, String message) {
        entries.add(new LogEntry(level, message));
    }
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