Class Log4jLoggerTestUtil


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

      • 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 Detail

      • 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.