@Test public void convertTo() throws Exception { assertEquals("WARNING", new GelfMessageLevelConverter().convertTo(GelfMessageLevel.WARNING)); }
@Override public String convertTo(GelfMessageLevel value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); }
GelfMessageLevelConverter implements Converter<GelfMessageLevel> { @Override public String convertTo(GelfMessageLevel value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); } }
GelfMessageLevelConverter implements Converter<GelfMessageLevel> { @Override public String convertTo(GelfMessageLevel value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); }  }
GelfMessageLevelConverter implements Converter<GelfMessageLevel> { @Override public String convertTo(GelfMessageLevel value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); }  @Override GelfMessageLevel convertFrom(String value); @Override String convertTo(GelfMessageLevel value); }
GelfMessageLevelConverter implements Converter<GelfMessageLevel> { @Override public String convertTo(GelfMessageLevel value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); }  @Override GelfMessageLevel convertFrom(String value); @Override String convertTo(GelfMessageLevel value);  }