Skip to content

Commit

Permalink
opt:1.6.15,调整日志的色调
Browse files Browse the repository at this point in the history
  • Loading branch information
hevake committed Nov 19, 2023
1 parent 62394ff commit e8584ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions modules/base/log_imp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ const char LOG_LEVEL_LEVEL_CODE[LOG_LEVEL_MAX] = {
};

const char* LOG_LEVEL_COLOR_CODE[LOG_LEVEL_MAX] = {
"91", //! FATAL 亮红
"41", //! ERROR 背景红
"43", //! WARN 背景黄
"33", //! NOTICE
"42", //! IMPORTANT 背景绿
"92", //! INFO 亮绿
"36", //! DEBUG 青
"35", //! TRACE 洋葱红
"31", //! FATAL
"7;91", //! ERROR 文字黑,背景亮红
"7;93", //! WARN 文字黑,背景亮黄
"93", //! NOTICE 亮黄
"7;92", //! IMPORTANT 文字黑,背景亮绿
"32", //! INFO 绿
"36", //! DEBUG
"35", //! TRACE 洋葱红
};

/**
Expand Down
2 changes: 1 addition & 1 deletion version.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TBOX版本号
TBOX_VERSION_MAJOR := 1
TBOX_VERSION_MINOR := 6
TBOX_VERSION_REVISION := 14
TBOX_VERSION_REVISION := 15

0 comments on commit e8584ce

Please sign in to comment.