Skip to content

Commit

Permalink
Make DEPRECATED messages blue at infolog.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurtron committed Jan 8, 2025
1 parent 1ba62ae commit e997d45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rts/System/Log/ConsoleSink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ static void log_sink_record_console(int level, const char* section, const char*
if (colorizedOutput) {
if (level >= LOG_LEVEL_ERROR) {
fstr = "\033[90m%s\033[31m%s\033[39m\n";
} else if (level == LOG_LEVEL_DEPRECATED) {
fstr = "\033[90m%s\034[33m%s\033[39m\n";
} else if (level >= LOG_LEVEL_WARNING) {
fstr = "\033[90m%s\033[33m%s\033[39m\n";
} else {
Expand Down

0 comments on commit e997d45

Please sign in to comment.