test_class.file: dubbo-common/src/test/java/org/apache/dubbo/common/utils/LogHelperTest.java
test_class.identifier: LogHelperTest
test_case.body: @Test
      public void testInfo() throws Exception {
          Logger logger = Mockito.mock(Logger.class);
          when(logger.isInfoEnabled()).thenReturn(true);
          LogHelper.info(logger, "info");
          verify(logger).info("info");
          Throwable t = new RuntimeException();
          LogHelper.info(logger, t);
          verify(logger).info(t);
          LogHelper.info(logger, "info", t);
          verify(logger).info("info", t);
      }
test_case.class_method_signature: LogHelperTest.testInfo()
test_case.full_signature: @Test public void testInfo()
test_case.identifier: testInfo
test_case.invocations: mock thenReturn when isInfoEnabled info info verify info info verify info info verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInfo()
focal_class.file: dubbo-common/src/main/java/org/apache/dubbo/common/utils/LogHelper.java
focal_class.identifier: LogHelper
focal_class.class_method_signature: LogHelper.LogHelper()
focal_class.full_signature: private  LogHelper()
focal_class.identifier: LogHelper
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  LogHelper()
focal_class.class_method_signature: LogHelper.trace(Logger logger, String msg)
focal_class.full_signature: public static void trace(Logger logger, String msg)
focal_class.identifier: trace
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, String msg)
focal_class.return: void
focal_class.signature: void trace(Logger logger, String msg)
focal_class.class_method_signature: LogHelper.trace(Logger logger, Throwable throwable)
focal_class.full_signature: public static void trace(Logger logger, Throwable throwable)
focal_class.identifier: trace
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, Throwable throwable)
focal_class.return: void
focal_class.signature: void trace(Logger logger, Throwable throwable)
focal_class.class_method_signature: LogHelper.trace(Logger logger, String msg, Throwable e)
focal_class.full_signature: public static void trace(Logger logger, String msg, Throwable e)
focal_class.identifier: trace
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, String msg, Throwable e)
focal_class.return: void
focal_class.signature: void trace(Logger logger, String msg, Throwable e)
focal_class.class_method_signature: LogHelper.debug(Logger logger, String msg)
focal_class.full_signature: public static void debug(Logger logger, String msg)
focal_class.identifier: debug
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, String msg)
focal_class.return: void
focal_class.signature: void debug(Logger logger, String msg)
focal_class.class_method_signature: LogHelper.debug(Logger logger, Throwable e)
focal_class.full_signature: public static void debug(Logger logger, Throwable e)
focal_class.identifier: debug
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, Throwable e)
focal_class.return: void
focal_class.signature: void debug(Logger logger, Throwable e)
focal_class.class_method_signature: LogHelper.debug(Logger logger, String msg, Throwable e)
focal_class.full_signature: public static void debug(Logger logger, String msg, Throwable e)
focal_class.identifier: debug
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, String msg, Throwable e)
focal_class.return: void
focal_class.signature: void debug(Logger logger, String msg, Throwable e)
focal_class.class_method_signature: LogHelper.info(Logger logger, String msg)
focal_class.full_signature: public static void info(Logger logger, String msg)
focal_class.identifier: info
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, String msg)
focal_class.return: void
focal_class.signature: void info(Logger logger, String msg)
focal_class.class_method_signature: LogHelper.info(Logger logger, Throwable e)
focal_class.full_signature: public static void info(Logger logger, Throwable e)
focal_class.identifier: info
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, Throwable e)
focal_class.return: void
focal_class.signature: void info(Logger logger, Throwable e)
focal_class.class_method_signature: LogHelper.info(Logger logger, String msg, Throwable e)
focal_class.full_signature: public static void info(Logger logger, String msg, Throwable e)
focal_class.identifier: info
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, String msg, Throwable e)
focal_class.return: void
focal_class.signature: void info(Logger logger, String msg, Throwable e)
focal_class.class_method_signature: LogHelper.warn(Logger logger, String msg, Throwable e)
focal_class.full_signature: public static void warn(Logger logger, String msg, Throwable e)
focal_class.identifier: warn
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, String msg, Throwable e)
focal_class.return: void
focal_class.signature: void warn(Logger logger, String msg, Throwable e)
focal_class.class_method_signature: LogHelper.warn(Logger logger, String msg)
focal_class.full_signature: public static void warn(Logger logger, String msg)
focal_class.identifier: warn
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, String msg)
focal_class.return: void
focal_class.signature: void warn(Logger logger, String msg)
focal_class.class_method_signature: LogHelper.warn(Logger logger, Throwable e)
focal_class.full_signature: public static void warn(Logger logger, Throwable e)
focal_class.identifier: warn
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, Throwable e)
focal_class.return: void
focal_class.signature: void warn(Logger logger, Throwable e)
focal_class.class_method_signature: LogHelper.error(Logger logger, Throwable e)
focal_class.full_signature: public static void error(Logger logger, Throwable e)
focal_class.identifier: error
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, Throwable e)
focal_class.return: void
focal_class.signature: void error(Logger logger, Throwable e)
focal_class.class_method_signature: LogHelper.error(Logger logger, String msg)
focal_class.full_signature: public static void error(Logger logger, String msg)
focal_class.identifier: error
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, String msg)
focal_class.return: void
focal_class.signature: void error(Logger logger, String msg)
focal_class.class_method_signature: LogHelper.error(Logger logger, String msg, Throwable e)
focal_class.full_signature: public static void error(Logger logger, String msg, Throwable e)
focal_class.identifier: error
focal_class.modifiers: public static
focal_class.parameters: (Logger logger, String msg, Throwable e)
focal_class.return: void
focal_class.signature: void error(Logger logger, String msg, Throwable e)
focal_method.body: public static void info(Logger logger, String msg) {
          if (logger == null) {
              return;
          }
  
          if (logger.isInfoEnabled()) {
              logger.info(msg);
          }
      }
focal_method.class_method_signature: LogHelper.info(Logger logger, String msg)
focal_method.full_signature: public static void info(Logger logger, String msg)
focal_method.identifier: info
focal_method.invocations: isInfoEnabled info
focal_method.modifiers: public static
focal_method.parameters: (Logger logger, String msg)
focal_method.return: void
focal_method.signature: void info(Logger logger, String msg)