类 LogUtil
- java.lang.Object
-
- com.alibaba.dubbo.common.utils.LogUtil
-
public class LogUtil extends Object
-
-
构造器概要
构造器 构造器 说明 LogUtil()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static boolean
checkNoError()
static int
findLevel(org.apache.log4j.Level expectedLevel)
static int
findLevelWithThreadName(org.apache.log4j.Level expectedLevel, String threadName)
static int
findMessage(String expectedMessage)
static int
findMessage(org.apache.log4j.Level expectedLevel, String expectedMessage)
static int
findName(String expectedLogName)
static int
findThread(String expectedThread)
static <T> void
printList(List<T> list)
static void
start()
static void
stop()
-
-
-
方法详细资料
-
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)
-
-