@Test public void rootLogger() { Logger logger = LogManager.getRootLogger(); assertThat(logger.getName()).isEqualTo("root"); assertThat(logger.getParent()).isNull(); }
public static Logger getRootLogger() { return root; }
LogManager { public static Logger getRootLogger() { return root; } }
LogManager { public static Logger getRootLogger() { return root; } LogManager(); }
LogManager { public static Logger getRootLogger() { return root; } LogManager(); static Logger getRootLogger(); static Logger getLogger(final String name); static Logger getLogger(final String name, final LoggerFactory factory); @SuppressWarnings("rawtypes") static Logger getLogger(final Class clazz); static Logger exists(final String name); @SuppressWarnings("rawtypes") static Enumeration getCurrentLoggers(); static void shutdown(); static void resetConfiguration(); }
LogManager { public static Logger getRootLogger() { return root; } LogManager(); static Logger getRootLogger(); static Logger getLogger(final String name); static Logger getLogger(final String name, final LoggerFactory factory); @SuppressWarnings("rawtypes") static Logger getLogger(final Class clazz); static Logger exists(final String name); @SuppressWarnings("rawtypes") static Enumeration getCurrentLoggers(); static void shutdown(); static void resetConfiguration();  }