@Test public void testObjMsgNotFlattened() { JsonMessageConverter jmc = new JsonMessageConverter(null); assertThat(format(jmc, makeEvent(OBJ_MSG, NO_ARGS)), is(OBJ_MSG)); }
@Override public void format(LogEvent event, StringBuilder toAppendTo) { converter.convert(event.getMessage().getFormattedMessage(), toAppendTo); }
JsonMessageConverter extends LogEventPatternConverter { @Override public void format(LogEvent event, StringBuilder toAppendTo) { converter.convert(event.getMessage().getFormattedMessage(), toAppendTo); } }
JsonMessageConverter extends LogEventPatternConverter { @Override public void format(LogEvent event, StringBuilder toAppendTo) { converter.convert(event.getMessage().getFormattedMessage(), toAppendTo); } JsonMessageConverter(String[] options); }
JsonMessageConverter extends LogEventPatternConverter { @Override public void format(LogEvent event, StringBuilder toAppendTo) { converter.convert(event.getMessage().getFormattedMessage(), toAppendTo); } JsonMessageConverter(String[] options); static JsonMessageConverter newInstance(final String[] options); @Override void format(LogEvent event, StringBuilder toAppendTo); }
JsonMessageConverter extends LogEventPatternConverter { @Override public void format(LogEvent event, StringBuilder toAppendTo) { converter.convert(event.getMessage().getFormattedMessage(), toAppendTo); } JsonMessageConverter(String[] options); static JsonMessageConverter newInstance(final String[] options); @Override void format(LogEvent event, StringBuilder toAppendTo); static final String WORD; static final String OPT_ESCAPE; static final String OPT_FLATTEN; }