@Test public void testSimpleLayout() { Layout layout = LoggingBuilder.newLayoutBuilder().withSimpleLayout().build(); String format = layout.format(loggingEvent); Assert.assertTrue(format.contains("junit")); }
public abstract String format(LoggingEvent event);
Layout { public abstract String format(LoggingEvent event); }
Layout { public abstract String format(LoggingEvent event);  }
Layout { public abstract String format(LoggingEvent event);  abstract String format(LoggingEvent event); String getContentType(); String getHeader(); String getFooter(); abstract boolean ignoresThrowable(); }
Layout { public abstract String format(LoggingEvent event);  abstract String format(LoggingEvent event); String getContentType(); String getHeader(); String getFooter(); abstract boolean ignoresThrowable();  }