Class LogInspectionHelper


  • public final class LogInspectionHelper
    extends java.lang.Object
    Test helper to listen for logging events. For this to work, it requires JBoss Logging to pick up our custom implementation Log4DelegatingLogger via ServiceLoader.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void clearAllListeners​(org.jboss.logging.BasicLogger log)  
      static void registerListener​(LogListener listener, org.jboss.logging.BasicLogger log)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • registerListener

        public static void registerListener​(LogListener listener,
                                            org.jboss.logging.BasicLogger log)
      • clearAllListeners

        public static void clearAllListeners​(org.jboss.logging.BasicLogger log)