类 LogUtil


  • public class LogUtil
    extends Object
    • 构造器详细资料

      • LogUtil

        public LogUtil()
    • 方法详细资料

      • start

        public static void start()
      • stop

        public static void stop()
      • checkNoError

        public static boolean checkNoError()
      • findName

        public static int findName(String expectedLogName)
      • findLevel

        public static int findLevel(org.apache.log4j.Level expectedLevel)
      • findLevelWithThreadName

        public static int findLevelWithThreadName(org.apache.log4j.Level expectedLevel,
                                                  String threadName)
      • findThread

        public static int findThread(String expectedThread)
      • findMessage

        public static int findMessage(String expectedMessage)
      • findMessage

        public static int findMessage(org.apache.log4j.Level expectedLevel,
                                      String expectedMessage)
      • printList

        public static <T> void printList(List<T> list)