程序包 org.anyline.util
类 LogUtil
java.lang.Object
org.anyline.util.LogUtil
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Stringformat(boolean content, int color) static Stringformat(double content, int color) static Stringformat(int content, int color) static Stringformat(long content, int color) static Stringstatic Stringstatic Stringformat(BigDecimal content, int color) static String参数日志格式化static String
-
构造器详细资料
-
LogUtil
public LogUtil()
-
-
方法详细资料
-
format
- 参数:
content- 日志内容color- 前景色代号(31-36) 背景颜色(41-46)
30:黑色
31:红色
32:绿色
33:黄色
34:蓝色
35:紫色
36:浅蓝
37:灰色
40:黑色
41:红色
42:绿色
43:黄色
44:蓝色
45:紫色
46:浅蓝
47:灰色type- 样式代号:0无;1加粗;3斜体;4下划线- 返回:
- String
-
format
-
format
-
format
-
format
-
format
-
format
-
param
参数日志格式化- 参数:
params- params- 返回:
- String
-
param
-