All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.therouter.plugin.LogUI Maven / Gradle / Ivy

There is a newer version: 1.2.3-rc17
Show newest version
package com.therouter.plugin;

/**
 * 具体规则
 * 字背景颜色范围: 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 LogUI { //color C_INFO("\033[40;37m"), C_HIGH("\033[40;46m"), C_ERROR("\033[40;31m"), C_WARN("\033[40;33m"), C_BLACK_GREEN("\033[40;32m"), //end E_NORMAL("\033[0m"); private final String value; LogUI(String value) { this.value = value; } String getValue() { return this.value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy