@Test public void testFailFastIfNoLogger() { try { Slf4JOutput.create() .build(); Assert.fail(); } catch (Exception e) { assertThat(e).hasMessage("Logger is absent"); } }
public static Builder create() { return new Builder(); }
Slf4JOutput implements Output { public static Builder create() { return new Builder(); } }
Slf4JOutput implements Output { public static Builder create() { return new Builder(); } Slf4JOutput(final Builder builder); }
Slf4JOutput implements Output { public static Builder create() { return new Builder(); } Slf4JOutput(final Builder builder); static Builder create(); @Override void write(final LogContext log); @Nonnull Logger getLogger(); @Nullable Format getFormat(); @Nullable Boolean getReplaceCrLf(); }
Slf4JOutput implements Output { public static Builder create() { return new Builder(); } Slf4JOutput(final Builder builder); static Builder create(); @Override void write(final LogContext log); @Nonnull Logger getLogger(); @Nullable Format getFormat(); @Nullable Boolean getReplaceCrLf();  }