Commit a6a46f08 authored by yanzg's avatar yanzg

接口文档的支持

parent 26ab78a7
......@@ -35,14 +35,12 @@ public class LogDefault implements RunnableLog {
info.getTag(),
info.getMessage()
));
if (info.getException() != null) {
sb.append(info.getException().getClass().getName());
sb.append(info.getException().getMessage());
}
if (info.getException() != null) {
Throwable ex = info.getException();
if (ex != null) {
sb.append(ex.getClass().getName());
sb.append(ex.getMessage());
System.err.println(sb.toString());
info.getException().printStackTrace();
ex.printStackTrace();
} else {
System.out.println(sb.toString());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment