mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-29 10:00:13 +08:00
[core] Change StdoutLogger color for WARNING. Fix #2336.
Commit 28030dfb05
fixed this problem for PlatformLogger
This commit is contained in:
parent
38737a473a
commit
6365e23f2c
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user