@Test public void shouldCreatedLoggerHaveCorrectName() { Assert.assertTrue(Loggers.create("suffix").getName().endsWith("suffix")); }
public static Logger create(final String suffix) { Preconditions.checkNotNull(suffix, "null suffix"); return Logger.getLogger(Loggers.BASE_LOGGER_NAME+"."+suffix); }
Loggers { public static Logger create(final String suffix) { Preconditions.checkNotNull(suffix, "null suffix"); return Logger.getLogger(Loggers.BASE_LOGGER_NAME+"."+suffix); } }
Loggers { public static Logger create(final String suffix) { Preconditions.checkNotNull(suffix, "null suffix"); return Logger.getLogger(Loggers.BASE_LOGGER_NAME+"."+suffix); } private  Loggers(); }
Loggers { public static Logger create(final String suffix) { Preconditions.checkNotNull(suffix, "null suffix"); return Logger.getLogger(Loggers.BASE_LOGGER_NAME+"."+suffix); } private  Loggers(); static Logger create(final String suffix); }
Loggers { public static Logger create(final String suffix) { Preconditions.checkNotNull(suffix, "null suffix"); return Logger.getLogger(Loggers.BASE_LOGGER_NAME+"."+suffix); } private  Loggers(); static Logger create(final String suffix); static final Logger BASE_LOGGER; }