Enum Class DebugLevel

java.lang.Object
java.lang.Enum<DebugLevel>
net.tnemc.plugincore.core.compatibility.log.DebugLevel
All Implemented Interfaces:
Serializable, Comparable<DebugLevel>, Constable

public enum DebugLevel extends Enum<DebugLevel>
Used to outline the various debugging levels that could be utilized within the logging layer.
Since:
0.1.2.0
Author:
creatorfromhell
  • Enum Constant Details Link icon

    • OFF Link icon

      public static final DebugLevel OFF
      Off debug level. This disables debug mode.
    • STANDARD Link icon

      public static final DebugLevel STANDARD
      Standard debug level. This should include any inform calls and any error calls containing exceptions.
    • DETAILED Link icon

      public static final DebugLevel DETAILED
      Detailed debug level. This should contain more detailed error calls and debug calls.
    • DEVELOPER Link icon

      public static final DebugLevel DEVELOPER
      Developer debug level. This should contain all calls.
  • Method Details Link icon

    • values Link icon

      public static DebugLevel[] 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 Link icon

      public static DebugLevel 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
    • compare Link icon

      public boolean compare(DebugLevel compare)
    • getPriority Link icon

      public byte getPriority()
    • setPriority Link icon

      public void setPriority(byte priority)
    • getIdentifier Link icon

    • fromID Link icon

      public static DebugLevel fromID(String identifier)
    • setIdentifier Link icon

      public void setIdentifier(String identifier)