@Test @DisplayName("should contain the proper latest log") void correctLatestLog() { LOGGER.info("First message"); LOGGER.info("Second message"); assertTrue(handler.getLatestLog().contains("INFO: Second message")); }
public String getLatestLog() { return latestLog; }
SlideshowFXHandler extends StreamHandler { public String getLatestLog() { return latestLog; } }
SlideshowFXHandler extends StreamHandler { public String getLatestLog() { return latestLog; } SlideshowFXHandler(); }
SlideshowFXHandler extends StreamHandler { public String getLatestLog() { return latestLog; } SlideshowFXHandler(); void addPropertyChangeListener(PropertyChangeListener listener); void removePropertyChangeListener(PropertyChangeListener listener); String getLatestLog(); synchronized String getAllLogs(); @Override synchronized void publish(LogRecord record); }
SlideshowFXHandler extends StreamHandler { public String getLatestLog() { return latestLog; } SlideshowFXHandler(); void addPropertyChangeListener(PropertyChangeListener listener); void removePropertyChangeListener(PropertyChangeListener listener); String getLatestLog(); synchronized String getAllLogs(); @Override synchronized void publish(LogRecord record);  }