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(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() |
public static void start()
public static void stop()
public static boolean checkNoError()
public static int findName(String expectedLogName)
public static int findLevel(org.apache.log4j.Level expectedLevel)
public static int findLevelWithThreadName(org.apache.log4j.Level expectedLevel, String threadName)
public static int findThread(String expectedThread)
public static int findMessage(String expectedMessage)
public static int findMessage(org.apache.log4j.Level expectedLevel, String expectedMessage)
public static <T> void printList(List<T> list)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.