Package org.tn5250j.tools.logging
Class TN5250jLogFactory
- java.lang.Object
-
- org.tn5250j.tools.logging.TN5250jLogFactory
-
public final class TN5250jLogFactory extends java.lang.ObjectAn 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 TN5250jLoggergetLogger(java.lang.Class<?> clazz)static TN5250jLoggergetLogger(java.lang.String clazzName)static booleanisLog4j()static voidsetLogLevels(int newLevel)
-
-
-
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)
-
-