Class LoggerUtil


  • public class LoggerUtil
    extends java.lang.Object
    Utility class for working with java.logging Logger classes
    • Constructor Summary

      Constructors 
      Constructor Description
      LoggerUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.logging.Logger getDebugLogger​(java.lang.Class<?> cls)
      Instantiate a Logger for debug messages for a given class.
      static java.util.logging.Level parseLogLevel​(java.lang.String val, java.util.logging.Level defaultLogLevel)  
      • Methods inherited from class java.lang.Object

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

      • LoggerUtil

        public LoggerUtil()
    • Method Detail

      • getDebugLogger

        public static java.util.logging.Logger getDebugLogger​(java.lang.Class<?> cls)
        Instantiate a Logger for debug messages for a given class.
        Parameters:
        cls - PARAM
        Returns:
        The debugLogger value
      • parseLogLevel

        public static java.util.logging.Level parseLogLevel​(java.lang.String val,
                                                            java.util.logging.Level defaultLogLevel)