This commit is contained in:
Looly
2021-01-19 10:06:56 +08:00
parent 8e2c153512
commit c4ce66a991
2 changed files with 3 additions and 1 deletions

View File

@@ -85,6 +85,7 @@ public class Console {
public static void log(Throwable t, String template, Object... values) {
out.println(StrUtil.format(template, values));
if (null != t) {
//noinspection CallToPrintStackTrace
t.printStackTrace();
out.flush();
}