Skip to content

Commit

Permalink
refactor: updated logging colors
Browse files Browse the repository at this point in the history
  • Loading branch information
jenspots committed Sep 15, 2024
1 parent bfd7a5d commit ace9ec9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions orchestrator/src/main/kotlin/util/Log.kt
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,8 @@ class Log private constructor(header: Boolean = true) {
}

// If the message is severe, set the color to red.
if (level == Level.SEVERE) {
builder.append("\u001B[31m")
}

// Color the background red in fatal cases.
if (level == Level.FATAL) {
builder.append("\u001B[97m\u001B[48;5;52m")
builder.append("\u001B[31m")
}

// The actual message.
Expand Down

0 comments on commit ace9ec9

Please sign in to comment.