Enum Logger.MessageLevel

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DEBUG
      All DEBUG messages are omitted in the release version.
      ERROR
      Error message level, for error information during ruintime.
      NORMAL
      Normal message level, for information during runtime
      TEST
      All TEST messages are omitted in the release version.
      WARNING
      Warning message level, for warning messages during runtime
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLongName()  
      java.lang.String getShortName()  
      static Logger.MessageLevel valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Logger.MessageLevel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NORMAL

        public static final Logger.MessageLevel NORMAL
        Normal message level, for information during runtime
      • WARNING

        public static final Logger.MessageLevel WARNING
        Warning message level, for warning messages during runtime
      • ERROR

        public static final Logger.MessageLevel ERROR
        Error message level, for error information during ruintime. Use in case error can be recovered from, i.e. not in case of exception handling.
      • TEST

        public static final Logger.MessageLevel TEST
        All TEST messages are omitted in the release version.
      • DEBUG

        public static final Logger.MessageLevel DEBUG
        All DEBUG messages are omitted in the release version.
    • Method Detail

      • values

        public static Logger.MessageLevel[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Logger.MessageLevel c : Logger.MessageLevel.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Logger.MessageLevel valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getShortName

        public java.lang.String getShortName()
      • getLongName

        public java.lang.String getLongName()