类 LogUtil
- java.lang.Object
-
- com.alibaba.dubbo.common.utils.LogUtil
-
public class LogUtil extends Object
-
-
构造器概要
构造器 构造器 说明 LogUtil()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static booleancheckNoError()static intfindLevel(org.apache.log4j.Level expectedLevel)static intfindLevelWithThreadName(org.apache.log4j.Level expectedLevel, String threadName)static intfindMessage(String expectedMessage)static intfindMessage(org.apache.log4j.Level expectedLevel, String expectedMessage)static intfindName(String expectedLogName)static intfindThread(String expectedThread)static <T> voidprintList(List<T> list)static voidstart()static voidstop()
-
-
-
方法详细资料
-
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)
-
-