mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-05 01:19:16 +08:00
[core] [logging] Change message color of WARNING
& ERROR
; fix #2336
This commit is contained in:
parent
4061abff52
commit
28030dfb05
@ -72,8 +72,8 @@ public actual open class PlatformLogger constructor( // same as StdoutLogger bu
|
||||
get() = when (this) {
|
||||
SimpleLogger.LogPriority.VERBOSE -> Color.RESET
|
||||
SimpleLogger.LogPriority.INFO -> Color.LIGHT_GREEN
|
||||
SimpleLogger.LogPriority.WARNING -> Color.LIGHT_RED
|
||||
SimpleLogger.LogPriority.ERROR -> Color.RED
|
||||
SimpleLogger.LogPriority.WARNING -> Color.LIGHT_YELLOW
|
||||
SimpleLogger.LogPriority.ERROR -> Color.LIGHT_RED
|
||||
SimpleLogger.LogPriority.DEBUG -> Color.LIGHT_CYAN
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user