Commit b712e461 authored by Quxl's avatar Quxl

x

parent 6b9ddd17
...@@ -40,6 +40,7 @@ public class LogServiceImpl implements LogService { ...@@ -40,6 +40,7 @@ public class LogServiceImpl implements LogService {
private StringBuffer toStackString(Throwable ex, Integer level) { private StringBuffer toStackString(Throwable ex, Integer level) {
StringBuffer stack = new StringBuffer(); StringBuffer stack = new StringBuffer();
if(ex != null) { if(ex != null) {
stack.append(ex.getClass().getName()).append(ex.getMessage());
StringBuffer prefix = new StringBuffer(); StringBuffer prefix = new StringBuffer();
Integer tmpLevel = (level == null || level < 0) ? 0 : level; Integer tmpLevel = (level == null || level < 0) ? 0 : level;
for(int i = 0; i < tmpLevel; i++) { for(int i = 0; i < tmpLevel; i++) {
......
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