@Test public void test() { final Slf4jLogService service = new Slf4jLogService(); final LogTarget target = service.get("name"); assertNotNull(target); assertTrue("target.class=" + target.getClass(), target instanceof Slf4jLogTarget); }
@Override public LogTarget get(String name) { return new Slf4jLogTarget(LoggerFactory.getLogger(name)); }
Slf4jLogService implements LogService { @Override public LogTarget get(String name) { return new Slf4jLogTarget(LoggerFactory.getLogger(name)); } }
Slf4jLogService implements LogService { @Override public LogTarget get(String name) { return new Slf4jLogTarget(LoggerFactory.getLogger(name)); }  }
Slf4jLogService implements LogService { @Override public LogTarget get(String name) { return new Slf4jLogTarget(LoggerFactory.getLogger(name)); }  @Override LogTarget get(String name); }
Slf4jLogService implements LogService { @Override public LogTarget get(String name) { return new Slf4jLogTarget(LoggerFactory.getLogger(name)); }  @Override LogTarget get(String name);  }