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