Skip to content

Commit

Permalink
Update logger
Browse files Browse the repository at this point in the history
  • Loading branch information
cybercrate committed Oct 28, 2023
1 parent e5a6b98 commit 3bd0aa2
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/main/java/com/wingmann/saqra/log/ConsoleLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@

public class ConsoleLogger implements Logger {
private enum PrintType {
LOG,
ERROR;

@Override
public String toString() {
if (this == PrintType.LOG) {
LOG {
@Override
public String toString() {
return "exec";
}
return "error";
},
ERROR {
@Override
public String toString() {
return "error";
}
}
}

Expand Down

0 comments on commit 3bd0aa2

Please sign in to comment.