@Override
        public int hashCode() {
            int result = level.hashCode();
            result = 31 * result + message.hashCode();
            return result;
        }
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