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