Enum Class LogUI

java.lang.Object
java.lang.Enum<LogUI>
com.therouter.plugin.LogUI
All Implemented Interfaces:
Serializable, Comparable<LogUI>, Constable

public enum LogUI extends Enum<LogUI>
具体规则 字背景颜色范围: 40--49 字颜色: 30--39 40: 黑 30: 黑 41:红 31: 红 42:绿 32: 绿 43:黄 33: 黄 44:蓝 34: 蓝 45:紫 35: 紫 46:深绿 36: 深绿 47:白色 37: 白色

输出特效格式控制 033[0m 关闭所有属性 033[1m 设置高亮度 03[4m 下划线 033[5m 闪烁 033[7m 反显 033[8m 消隐 033[30m -- \033[37m 设置前景色 033[40m -- \033[47m 设置背景色

  • Enum Constant Details

    • C_INFO

      public static final LogUI C_INFO
    • C_HIGH

      public static final LogUI C_HIGH
    • C_ERROR

      public static final LogUI C_ERROR
    • C_WARN

      public static final LogUI C_WARN
    • C_BLACK_GREEN

      public static final LogUI C_BLACK_GREEN
    • E_NORMAL

      public static final LogUI E_NORMAL
  • Method Details

    • values

      public static LogUI[] 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 LogUI 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
    • getValue

      public String getValue()