Class Log4jLoggerTestUtil

java.lang.Object
com.atlassian.bamboo.utils.Log4jLoggerTestUtil

public class Log4jLoggerTestUtil extends Object
  • Constructor Details

    • Log4jLoggerTestUtil

      public Log4jLoggerTestUtil()
      Creates a watcher of all categories
    • Log4jLoggerTestUtil

      public Log4jLoggerTestUtil(String category)
      Creates a watcher of the given category
      Parameters:
      category - the category to watch
    • Log4jLoggerTestUtil

      public Log4jLoggerTestUtil(Class<?> clazz)
      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

      public String getMessage()
    • reset

      public void reset()
    • setLevel

      public void setLevel(org.apache.log4j.Level level)