Fix debugLog source getting issue

This commit is contained in:
Ghost_chu committed 2021-02-25 17:46:14 +08:00
1 parent 755680b49f
commit dcbb93e62f
1 file changed
+1 -1
@@ -339,7 +339,7 @@ public class Util {
lock.writeLock().unlock();
return;
}
final StackTraceElement stackTraceElement = Thread.currentThread().getStackTrace()[1];
final StackTraceElement stackTraceElement = Thread.currentThread().getStackTrace()[2];
final String className = stackTraceElement.getClassName();
final String methodName = stackTraceElement.getMethodName();
final int codeLine = stackTraceElement.getLineNumber();