mirror of
https://github.com/corda/corda.git
synced 2025-06-16 06:08:13 +00:00
Implemented a simple but working implementation of the java logging API,
complete with a test class
This commit is contained in:
@ -63,6 +63,10 @@ public class Throwable {
|
||||
return (StackTraceElement[]) trace;
|
||||
}
|
||||
|
||||
public StackTraceElement[] getStackTrace() {
|
||||
return resolveTrace();
|
||||
}
|
||||
|
||||
public void printStackTrace(PrintStream out) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
printStackTrace(sb, System.getProperty("line.separator"));
|
||||
|
Reference in New Issue
Block a user