@Override
    public void append(LoggingEvent event) {
        super.append(event);
        if (available) {
            Log temp = parseLog(event);
            logList.add(temp);
        }
    }
@Test
    void testAppend() {
        DubboAppender appender = new DubboAppender();
        appender.append(event);
        assumeTrue(0 == DubboAppender.logList.size());
        DubboAppender.doStart();
        appender.append(event);
        assertThat(DubboAppender.logList, hasSize(1));
        assertThat(DubboAppender.logList.get(0).getLogThread(), equalTo("thread-name"));
    }