@Test public void testRemoveListener() throws Throwable { Logger logger = new Logger(); logger.removeListener(new SimpleLogListener()); assertEquals(0, logger.listeners.size(), "m_logger.listeners.size()"); }
public void removeListener (LogListener l) { listeners.remove(l); }
Logger implements LogProducer,Configurable { public void removeListener (LogListener l) { listeners.remove(l); } }
Logger implements LogProducer,Configurable { public void removeListener (LogListener l) { listeners.remove(l); } Logger(); }
Logger implements LogProducer,Configurable { public void removeListener (LogListener l) { listeners.remove(l); } Logger(); Configuration getConfiguration(); @Override void setConfiguration(Configuration cfg); void addListener(LogListener l); void removeListener(LogListener l); void removeAllListeners(); static void log(LogEvent evt); void setName(String name); void destroy(); synchronized static Logger getLogger(String name); String getName(); boolean hasListeners(); }
Logger implements LogProducer,Configurable { public void removeListener (LogListener l) { listeners.remove(l); } Logger(); Configuration getConfiguration(); @Override void setConfiguration(Configuration cfg); void addListener(LogListener l); void removeListener(LogListener l); void removeAllListeners(); static void log(LogEvent evt); void setName(String name); void destroy(); synchronized static Logger getLogger(String name); String getName(); boolean hasListeners(); static final String NRPREFIX; }