Skip to content

Commit

Permalink
[style] checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuajeschek committed Jan 4, 2022
1 parent 44c18c3 commit 3b1a5be
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions src/main/java/github/weichware10/util/Logger.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,20 @@
import java.io.PrintStream;
import java.io.PrintWriter;
import java.io.StringWriter;

import javafx.scene.control.TextArea;

/**
* Klasse, um Inhalte schön zu loggen. Hat verschiedene Log-Stufen:
*
* <p>
* - INFO
* <p>- INFO
*
* <p>
* - WARN
* <p>- WARN
*
* <p>
* - ERROR
* <p>- ERROR
*
* <p>
* - DEBUG
* <p>- DEBUG
*
* <p>
* Jede Funktion hat 3 verschiedene Versionen,
* <p>Jede Funktion hat 3 verschiedene Versionen,
* ohne Kontext, mit Kontext, und mit Kontext und Stack Trace.
*
* @since v0.2
Expand Down Expand Up @@ -276,7 +270,7 @@ public void printStackTrace(Exception ctx) {
if (logArea != null | logfile != null) {
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);

ctx.printStackTrace(pw);
stackTraceString = sw.toString();
}
if (logArea != null) {
Expand Down

0 comments on commit 3b1a5be

Please sign in to comment.