@Test public void testClear() throws Exception { DubboAppender.doStart(); DubboAppender appender = new DubboAppender(); appender.append(event); assertThat(DubboAppender.logList, hasSize(1)); DubboAppender.clear(); assertThat(DubboAppender.logList, hasSize(0)); }
public static void clear() { logList.clear(); }
DubboAppender extends ConsoleAppender { public static void clear() { logList.clear(); } }
DubboAppender extends ConsoleAppender { public static void clear() { logList.clear(); }  }
DubboAppender extends ConsoleAppender { public static void clear() { logList.clear(); }  static void doStart(); static void doStop(); static void clear(); @Override void append(LoggingEvent event); }
DubboAppender extends ConsoleAppender { public static void clear() { logList.clear(); }  static void doStart(); static void doStop(); static void clear(); @Override void append(LoggingEvent event); static boolean available; static List<Log> logList; }