| 限定符和类型 | 字段和说明 |
|---|---|
static Color |
DEBUG_COLOR |
static Color |
ERROR_COLOR |
static Color |
INFO_COLOR |
static Color |
NORMAL_COLOR |
static Color |
NORMAL_LOW_COLOR |
| 构造器和说明 |
|---|
LoggerImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Log(String mess,
Integer level) |
void |
setFormat(SimpleDateFormat format) |
int |
setLogLevel(int level) |
void |
setOutFile(String path)
out file
|
void |
setPrefix(String prefix) |
public static final Color NORMAL_LOW_COLOR
public static final Color NORMAL_COLOR
public static final Color INFO_COLOR
public static final Color DEBUG_COLOR
public static final Color ERROR_COLOR
public void setOutFile(String path)
LoggersetOutFile 在接口中 Loggerpublic void setFormat(SimpleDateFormat format)
public int setLogLevel(int level)
setLogLevel 在接口中 LoggerCopyright © 2025. All rights reserved.