[core] Change StdoutLogger color for WARNING. Fix #2336.

Commit 28030dfb05 fixed this problem for PlatformLogger
This commit is contained in:
Him188 2022-12-27 17:54:34 +00:00
parent 38737a473a
commit 6365e23f2c
No known key found for this signature in database
GPG Key ID: BA439CDDCF652375

View File

@ -63,7 +63,7 @@ internal open class StdoutLogger constructor(
get() = when (this) {
SimpleLogger.LogPriority.VERBOSE -> Color.RESET
SimpleLogger.LogPriority.INFO -> Color.LIGHT_GREEN
SimpleLogger.LogPriority.WARNING -> Color.LIGHT_RED
SimpleLogger.LogPriority.WARNING -> Color.LIGHT_YELLOW
SimpleLogger.LogPriority.ERROR -> Color.RED
SimpleLogger.LogPriority.DEBUG -> Color.LIGHT_CYAN
}