Enum Class XSLogLevel

java.lang.Object
java.lang.Enum<XSLogLevel>
com.io7m.xstructural.cmdline.XSLogLevel
All Implemented Interfaces:
Serializable, Comparable<XSLogLevel>, Constable

public enum XSLogLevel extends Enum<XSLogLevel>
Log level.
  • Enum Constant Details

    • LOG_TRACE

      public static final XSLogLevel LOG_TRACE
      See Also:
      • Level.TRACE
    • LOG_DEBUG

      public static final XSLogLevel LOG_DEBUG
      See Also:
      • Level.DEBUG
    • LOG_INFO

      public static final XSLogLevel LOG_INFO
      See Also:
      • Level.INFO
    • LOG_WARN

      public static final XSLogLevel LOG_WARN
      See Also:
      • Level.WARN
    • LOG_ERROR

      public static final XSLogLevel LOG_ERROR
      See Also:
      • Level.ERROR
  • Method Details

    • values

      public static XSLogLevel[] 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 XSLogLevel 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<XSLogLevel>
    • getName

      public String getName()
      Returns:
      The short name of the level