Log Window refined

This commit is contained in:
huangyuhui
2017-08-21 13:40:16 +08:00
parent f92275fa50
commit be202a6e1a
12 changed files with 152 additions and 16 deletions

View File

@@ -60,11 +60,11 @@ internal object DefaultFormatter : Formatter() {
*/
enum class Log4jLevel constructor(val level: Int, val color: Color) {
FATAL(1, Color.RED),
ERROR(2, Color.RED),
WARN(3, Color.ORANGE),
INFO(4, Color.BLACK),
DEBUG(5, Color.BLUE),
FATAL(1, Color.web("#F7A699")),
ERROR(2, Color.web("#FFCCBB")),
WARN(3, Color.web("#FFEECC")),
INFO(4, Color.web("#FBFBFB")),
DEBUG(5, Color.web("#EEE9E0")),
TRACE(6, Color.BLUE),
ALL(2147483647, Color.BLACK);