Class TN5250jLogFactory


  • public final class TN5250jLogFactory
    extends java.lang.Object
    An interface defining objects that can create Configure instances. The model for the HashMap implementation of loggers came from the POI project thanks to Nicola Ken Barozzi (nicolaken at apache.org) for the reference.
    • Method Summary

      Modifier and Type Method Description
      static TN5250jLogger getLogger​(java.lang.Class<?> clazz)  
      static TN5250jLogger getLogger​(java.lang.String clazzName)  
      static boolean isLog4j()  
      static void setLogLevels​(int newLevel)  
      • Methods inherited from class java.lang.Object

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

      • getLogger

        public static TN5250jLogger getLogger​(java.lang.Class<?> clazz)
        Parameters:
        clazz - a class
        Returns:
        An instance of the TN5250jLogger.
      • getLogger

        public static TN5250jLogger getLogger​(java.lang.String clazzName)
        Parameters:
        clazzName - a classname
        Returns:
        An instance of the TN5250jLogger.
      • isLog4j

        public static boolean isLog4j()
      • setLogLevels

        public static void setLogLevels​(int newLevel)