Package util

Class Logger


  • public class Logger
    extends Object
    Logger Class to print to system.out Singleton
    • Constructor Detail

      • Logger

        public Logger()
    • Method Detail

      • getInstance

        public static Logger getInstance()
      • setActive

        public static void setActive​(boolean isActive)
        Function to enable Logger
        Parameters:
        isActive - enable or disable
      • setDetailed

        public static void setDetailed​(boolean isDetailed)
        Enable more detailed logging
        Parameters:
        isDetailed - enable or disable
      • error

        public static void error​(String string)
        Print an error message
        Parameters:
        string - message
      • info

        public static void info​(String string)
        Print an info message
        Parameters:
        string - message
      • infoDetailed

        public static void infoDetailed​(String string)
        Print an detailed info message Only printed if in detailed mode
        Parameters:
        string - message