Enum Class VerboseLevel

java.lang.Object
java.lang.Enum<VerboseLevel>
laas.openrobots.ontology.helpers.VerboseLevel
All Implemented Interfaces:
Serializable, Comparable<VerboseLevel>, Constable

public enum VerboseLevel extends Enum<VerboseLevel>
This enum defines the various possible verbosity levels for server messages. Theses values can be used in the code (with the Logger.log(String, VerboseLevel) method in particular) of in the configuration file. Note that the order of the enum constant is important since for a given level of verbosity, all messages with a superior level of verbosity will be displayed as well.
  • Enum Constant Details

    • SILENT

      public static final VerboseLevel SILENT
      Only for use in the config file. Indicates that nothing must be displayed.
    • FATAL_ERROR

      public static final VerboseLevel FATAL_ERROR
      Error that trigger the direct interuption of the application
    • SERIOUS_ERROR

      public static final VerboseLevel SERIOUS_ERROR
      Error that "shouldn't happen" but the server can live with.
    • ERROR

      public static final VerboseLevel ERROR
      "Normal" error, that will be reported to the clients
    • WARNING

      public static final VerboseLevel WARNING
      Not an error, but an important information that can alter the way the server works.
    • IMPORTANT

      public static final VerboseLevel IMPORTANT
      Important information that should be emphasized in a log
    • EMPHASIZE

      public static final VerboseLevel EMPHASIZE
      Emphasized standard information
    • INFO

      public static final VerboseLevel INFO
      Standard information
    • VERBOSE

      public static final VerboseLevel VERBOSE
      Important debug info
    • DEBUG

      public static final VerboseLevel DEBUG
      Not very important debug info.
    • DEBUG_CONCURRENCY

      public static final VerboseLevel DEBUG_CONCURRENCY
      Very verbose debug information, used to track concurrency errors.
  • Method Details

    • values

      public static VerboseLevel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VerboseLevel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null