Package com.atlassian.bamboo.utils
Class Log4jLoggerTestUtil
java.lang.Object
com.atlassian.bamboo.utils.Log4jLoggerTestUtil
-
Constructor Summary
ConstructorDescriptionCreates a watcher of all categoriesLog4jLoggerTestUtil
(Class<?> clazz) Creates a watcher of the given class categoryLog4jLoggerTestUtil
(String category) Creates a watcher of the given category -
Method Summary
-
Constructor Details
-
Log4jLoggerTestUtil
public Log4jLoggerTestUtil()Creates a watcher of all categories -
Log4jLoggerTestUtil
Creates a watcher of the given category- Parameters:
category
- the category to watch
-
Log4jLoggerTestUtil
Creates a watcher of the given class category- Parameters:
clazz
- the class category to watch
-
-
Method Details
-
beforeTest
public void beforeTest() -
afterTest
public void afterTest() -
setLevel
public void setLevel(org.apache.logging.log4j.Level level) -
getMessage
-
reset
public void reset() -
setLevel
public void setLevel(org.apache.log4j.Level level)
-