com.alibaba.dubbo.common.utils
Class LogUtil

java.lang.Object
  extended by com.alibaba.dubbo.common.utils.LogUtil

public class LogUtil
extends Object

Author:
tony.chenl

Constructor Summary
LogUtil()
           
 
Method Summary
static boolean checkNoError()
           
static int findLevel(org.apache.log4j.Level expectedLevel)
           
static int findLevelWithThreadName(org.apache.log4j.Level expectedLevel, String threadName)
           
static int findMessage(org.apache.log4j.Level expectedLevel, String expectedMessage)
           
static int findMessage(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()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogUtil

public LogUtil()
Method Detail

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.