@Test public void renderDebug() { SeverityLevelIntegerToken token = new SeverityLevelIntegerToken(); assertThat(render(token, Level.DEBUG)).isEqualTo("4"); }
@Override public void render(final LogEntry logEntry, final StringBuilder builder) { builder.append(getReverseOfOrdinalAsLevelValue(logEntry)); }
SeverityLevelIntegerToken implements Token { @Override public void render(final LogEntry logEntry, final StringBuilder builder) { builder.append(getReverseOfOrdinalAsLevelValue(logEntry)); } }
SeverityLevelIntegerToken implements Token { @Override public void render(final LogEntry logEntry, final StringBuilder builder) { builder.append(getReverseOfOrdinalAsLevelValue(logEntry)); } SeverityLevelIntegerToken(); }
SeverityLevelIntegerToken implements Token { @Override public void render(final LogEntry logEntry, final StringBuilder builder) { builder.append(getReverseOfOrdinalAsLevelValue(logEntry)); } SeverityLevelIntegerToken(); @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); }
SeverityLevelIntegerToken implements Token { @Override public void render(final LogEntry logEntry, final StringBuilder builder) { builder.append(getReverseOfOrdinalAsLevelValue(logEntry)); } SeverityLevelIntegerToken(); @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);  }