mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2024-11-22 01:48:50 +00:00
feat: 添加异常调试消息
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
9eca49d10f
commit
001d525c5a
@ -75,6 +75,19 @@ public class Log {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 调试消息
|
||||
*
|
||||
* @param msg
|
||||
* 消息
|
||||
*/
|
||||
public static void debug(final String msg, final Throwable e) {
|
||||
if (debug) {
|
||||
logger.info("[DEBUG] " + msg);
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return 获得插件前缀
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user