com.alibaba.dubbo.common.utils
Class LogUtil
java.lang.Object
com.alibaba.dubbo.common.utils.LogUtil
public class LogUtil
- extends Object
- Author:
- tony.chenl
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)
Copyright © 2012–2017 Alibaba. All rights reserved.