/** * Retrieve all log messages. * * @return the list of messages */ public List<String> getMessages() { return getEvents().stream() .map(ILoggingEvent::getFormattedMessage) .collect(Collectors.toList()); }
/** * Retrieve all log messages. * * @return the list of messages */ public List<String> getMessages() { return getEvents().stream() .map(ILoggingEvent::getFormattedMessage) .collect(Collectors.toList()); }