feat: 添加异常调试消息

Signed-off-by: 502647092 <admin@yumc.pw>
merge/1/MERGE
502647092 2016-08-28 20:55:36 +08:00
parent 9eca49d10f
commit 001d525c5a
1 changed files with 13 additions and 0 deletions

View File

@ -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
*/