001package org.slf4j.jul;
002
003import java.util.ArrayList;
004import java.util.List;
005import java.util.logging.LogRecord;
006
007public class ListHandler extends java.util.logging.Handler {
008
009    public List<LogRecord> recordList = new ArrayList<>();
010
011    @Override
012    public void publish(LogRecord record) {
013        recordList.add(record);
014    }
015
016    @Override
017    public void flush() {
018    }
019
020    @Override
021    public void close() throws SecurityException {
022    }
023}