Add a RESET at the front of the appendLog line

This commit is contained in:
Dale Wijnand 2017-07-17 10:42:39 +01:00
parent a09cd424f1
commit e744985b6b
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
1 changed files with 1 additions and 1 deletions

View File

@ -362,7 +362,7 @@ class ConsoleAppender private[ConsoleAppender] (
private def appendLog(labelColor: String, label: String, messageColor: String, message: String): Unit =
out.lockObject.synchronized {
message.lines.foreach { line =>
val labeledLine = s"[${formatted(labelColor, label)}] ${formatted(messageColor, line)}"
val labeledLine = s"$RESET[${formatted(labelColor, label)}] ${formatted(messageColor, line)}"
writeLine(labeledLine)
}
}