Skip to content

Commit

Permalink
disable logging, don't need that right now. sort of works...
Browse files Browse the repository at this point in the history
  • Loading branch information
MoserMichael committed May 10, 2022
1 parent b63d0ce commit 711724a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions java-decompiler/src/main/java/decomp/PipeDecompiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ public boolean canLoad(String internalName) {
inData = new DataInputStream(System.in);
outData = new DataOutputStream(System.out);
loader = new RootDirLoader(this);
openLogger();

//don't need that right now. consider enabling that optionally...
//openLogger();
}

private void openLogger() {
Expand Down Expand Up @@ -147,10 +149,12 @@ public void run() {
}

private void log(String toLog) {
try {
this.logger.write(toLog + "\n");
this.logger.flush();
} catch(IOException ex) {
if (this.logger != null) {
try {
this.logger.write(toLog + "\n");
this.logger.flush();
} catch (IOException ex) {
}
}
}
}

0 comments on commit 711724a

Please sign in to comment.