mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
C: print stack trace in Logger class
This commit is contained in:
parent
3364022313
commit
336590314c
|
@ -64,6 +64,9 @@ public class TLogger {
|
|||
System.out.print(record.getLevel().getName());
|
||||
System.out.print("] ");
|
||||
System.out.println(message);
|
||||
if (record.getThrown() != null) {
|
||||
record.getThrown().printStackTrace(System.out);
|
||||
}
|
||||
} else {
|
||||
if (record.getLevel().intValue() >= TLevel.SEVERE.intValue()) {
|
||||
error(message);
|
||||
|
|
Loading…
Reference in New Issue
Block a user