### Question:
LogUtils { public static Logger getL7dLogger(Class<?> cls) { return createLogger(cls, null, cls.getName()); } private  LogUtils(); static void setLoggerClass(Class<? extends AbstractDelegatingLogger> cls); static Logger getLogger(Class<?> cls); static Logger getLogger(Class<?> cls, String resourcename); static Logger getLogger(Class<?> cls,
                                     String resourcename,
                                     String loggerName); static Logger getL7dLogger(Class<?> cls); static Logger getL7dLogger(Class<?> cls, String resourcename); static Logger getL7dLogger(Class<?> cls,
                                      String resourcename,
                                      String loggerName); static void log(Logger logger,
                           Level level,
                           String message,
                           Throwable throwable,
                           Object parameter); static void log(Logger logger,
                           Level level,
                           String message,
                           Throwable throwable,
                           Object... parameters); static void log(Logger logger,
                           Level level,
                           String message); static void log(Logger logger,
                           Level level,
                           String message,
                           Throwable throwable); static void log(Logger logger,
                           Level level,
                           String message,
                           Object parameter); static void log(Logger logger,
                           Level level,
                           String message,
                           Object[] parameters);  }### Answer:
@Test public void testGetL7dLog() throws Exception { Logger log = LogUtils.getL7dLogger(LogUtilsTest.class, null, "testGetL7dLog"); assertNotNull("expected non-null logger", log); assertEquals("unexpected resource bundle name", BundleUtils.getBundleName(LogUtilsTest.class), log.getResourceBundleName()); Logger otherLogger = LogUtils.getL7dLogger(LogUtilsTest.class, "Messages", "testGetL7dLog"); assertEquals("unexpected resource bundle name", BundleUtils.getBundleName(LogUtilsTest.class, "Messages"), otherLogger.getResourceBundleName()); }