@Test void testMapOutputShouldNotThrowExceptionWhenOutputMappersIsNull() { MappingLogEventWriter writer = new MappingLogEventWriter(); assertDoesNotThrow(() -> writer.mapOutput(new byte[]{})); }
protected byte[] mapOutput(byte[] output) { if (outputMappers != null) { for (ByteArrayMapper mapper : outputMappers) { output = mapper.apply(output); } } return output; }
MappingLogEventWriter extends BaseLogEventWriter implements XmlConfigurable { protected byte[] mapOutput(byte[] output) { if (outputMappers != null) { for (ByteArrayMapper mapper : outputMappers) { output = mapper.apply(output); } } return output; } }
MappingLogEventWriter extends BaseLogEventWriter implements XmlConfigurable { protected byte[] mapOutput(byte[] output) { if (outputMappers != null) { for (ByteArrayMapper mapper : outputMappers) { output = mapper.apply(output); } } return output; }  }
MappingLogEventWriter extends BaseLogEventWriter implements XmlConfigurable { protected byte[] mapOutput(byte[] output) { if (outputMappers != null) { for (ByteArrayMapper mapper : outputMappers) { output = mapper.apply(output); } } return output; }  @Override void setPrintStream(PrintStream p); @Override synchronized void close(); @Override void write(LogEvent ev); @Override void setConfiguration(Element e); }
MappingLogEventWriter extends BaseLogEventWriter implements XmlConfigurable { protected byte[] mapOutput(byte[] output) { if (outputMappers != null) { for (ByteArrayMapper mapper : outputMappers) { output = mapper.apply(output); } } return output; }  @Override void setPrintStream(PrintStream p); @Override synchronized void close(); @Override void write(LogEvent ev); @Override void setConfiguration(Element e);  }