Class LogFactory


  • public class LogFactory
    extends Object
    Factory that creates Log instances.
    Since:
    4.0
    Author:
    Manik Surtani
    • Constructor Detail

      • LogFactory

        public LogFactory()
    • Method Detail

      • getLog

        public static org.infinispan.util.logging.Log getLog​(Class<?> clazz)
      • getLog

        public static <T> T getLog​(Class<?> clazz,
                                   Class<T> logClass)
      • getLog

        public static <T> T getLog​(String category,
                                   Class<T> logClass)
      • getLogger

        public static org.jboss.logging.Logger getLogger​(String category)
      • pushNDC

        public static void pushNDC​(String cacheName,
                                   boolean isTrace)
      • pushNDC

        public static void pushNDC​(ByteString cacheName,
                                   boolean isTrace)
      • popNDC

        public static void popNDC​(boolean isTrace)