Skip to content

Commit

Permalink
a better ignore colour
Browse files Browse the repository at this point in the history
  • Loading branch information
Geevies committed Jun 30, 2020
1 parent 5ac864f commit a4b172e
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions src/backend/logger.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,25 +104,25 @@ public static void populateLog(String[] searchWords) {
} else if (lineHolder.contains("ATTACK")) {
logColorArray.setColor(numToUse, "#BF569A", searching);
} else if (lineHolder.contains("ACCESS")) {
logColorArray.setColor(numToUse, "#223620", searching);
logColorArray.setColor(numToUse, "#506152", searching);
} else if (lineHolder.contains("DEBUG")) {
logColorArray.setColor(numToUse, "#223620", searching);
logColorArray.setColor(numToUse, "#506152", searching);
} else if (lineHolder.contains("SS")) {
logColorArray.setColor(numToUse, "#223620", searching);
logColorArray.setColor(numToUse, "#506152", searching);
} else if (lineHolder.contains("GC")) {
logColorArray.setColor(numToUse, "#223620", searching);
logColorArray.setColor(numToUse, "#506152", searching);
} else if (lineHolder.contains("Mouse")) {
logColorArray.setColor(numToUse, "#223620", searching);
logColorArray.setColor(numToUse, "#506152", searching);
} else if (lineHolder.contains("TGS")) {
logColorArray.setColor(numToUse, "#223620", searching);
logColorArray.setColor(numToUse, "#506152", searching);
} else if (lineHolder.contains("TOPIC")) {
logColorArray.setColor(numToUse, "#223620", searching);
logColorArray.setColor(numToUse, "#506152", searching);
} else if (lineHolder.contains("MASTER")) {
logColorArray.setColor(numToUse, "#223620", searching);
logColorArray.setColor(numToUse, "#506152", searching);
} else if (lineHolder.contains("VOTE")) {
logColorArray.setColor(numToUse, "#223620", searching);
logColorArray.setColor(numToUse, "#506152", searching);
} else if (lineHolder.contains("GAME")) {
logColorArray.setColor(numToUse, "#223620", searching);
logColorArray.setColor(numToUse, "#506152", searching);
} else {
logColorArray.setColor(numToUse, "#A8D1A5", searching);
}
Expand All @@ -135,7 +135,6 @@ public static void populateLog(String[] searchWords) {

Integer dateOpenIndex = logArr[0].indexOf("[");
date = logArr[0].substring(dateOpenIndex + 1, dateOpenIndex + 12);
System.out.println(date);
}
} catch (FileNotFoundException ex) {
JOptionPane.showMessageDialog(null, "The logifier text file not found! Make sure you named it correctly! Logs will be bugged!");
Expand Down

0 comments on commit a4b172e

Please sign in to comment.