Class LoggerUtils


  • public class LoggerUtils
    extends java.lang.Object
    LoggerUtils contains two methods to allow logger to print certain level of message to console. This is mainly used for debugging purpose.
    • Constructor Summary

      Constructors 
      Constructor Description
      LoggerUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void disableLogger​(java.lang.String loggerName, java.util.logging.Handler handler)  
      static java.util.logging.Handler enableLogger​(java.lang.String loggerName, java.util.logging.Level level)  
      • Methods inherited from class java.lang.Object

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

      • LoggerUtils

        public LoggerUtils()
    • Method Detail

      • enableLogger

        public static java.util.logging.Handler enableLogger​(java.lang.String loggerName,
                                                             java.util.logging.Level level)
      • disableLogger

        public static void disableLogger​(java.lang.String loggerName,
                                         java.util.logging.Handler handler)