@Test public void requiredLogEntryValues() { ExceptionToken token = new ExceptionToken(Collections.emptyList()); assertThat(token.getRequiredLogEntryValues()).containsOnly(LogEntryValue.EXCEPTION); }
@Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singleton(LogEntryValue.EXCEPTION); }
ExceptionToken implements Token { @Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singleton(LogEntryValue.EXCEPTION); } }
ExceptionToken implements Token { @Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singleton(LogEntryValue.EXCEPTION); } ExceptionToken(final List<ThrowableFilter> filters); }
ExceptionToken implements Token { @Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singleton(LogEntryValue.EXCEPTION); } ExceptionToken(final List<ThrowableFilter> filters); @Override Collection<LogEntryValue> getRequiredLogEntryValues(); @Override void render(final LogEntry logEntry, final StringBuilder builder); @Override void apply(final LogEntry logEntry, final PreparedStatement statement, final int index); }
ExceptionToken implements Token { @Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singleton(LogEntryValue.EXCEPTION); } ExceptionToken(final List<ThrowableFilter> filters); @Override Collection<LogEntryValue> getRequiredLogEntryValues(); @Override void render(final LogEntry logEntry, final StringBuilder builder); @Override void apply(final LogEntry logEntry, final PreparedStatement statement, final int index);  }