Class Log4jLoggerTestUtil

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

@Deprecated public class Log4jLoggerTestUtil extends Object
Deprecated.
testing log messages is evil, please don't. It's also flaky.
  • Constructor Details

    • Log4jLoggerTestUtil

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

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

      public Log4jLoggerTestUtil(Class<?> clazz)
      Deprecated.
      Creates a watcher of the given class category
      Parameters:
      clazz - the class category to watch
  • Method Details

    • beforeTest

      public void beforeTest()
      Deprecated.
    • afterTest

      public void afterTest()
      Deprecated.
    • setLevel

      public void setLevel(org.apache.logging.log4j.Level level)
      Deprecated.
    • getMessage

      public String getMessage()
      Deprecated.
    • reset

      public void reset()
      Deprecated.
    • setLevel

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