summaryrefslogtreecommitdiffstats
path: root/tests/msgfile/msgfile_test.ok
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-01-16 03:02:06 +0100
committerHarald Welte <laforge@gnumonks.org>2018-01-17 11:13:58 +0000
commite653472573323a9abf910555fe38eb34b1f42840 (patch)
tree0bfc3eb77a1a079d1a0499d4f50239fe2cc86804 /tests/msgfile/msgfile_test.ok
parentf3fa3694f596b50a5d85ae1e8b2a8627a3308a7e (diff)
logging: color the log category according to level
When log_set_use_color() is enabled, color the log category string according to the log level. The log line before and after the log category is printed in the category's configured color. ERROR and FATAL are red, NOTICE is yellow, INFO is green and DEBUG is blue. The default behavior remains unchanged; If color is enabled, the category string will now always be colored in the log level color, not the log category color, and will stand out from the rest of the line. Change-Id: I84f886ac880e9056a666bbb231ae06cbaaf65f44
Diffstat (limited to 'tests/msgfile/msgfile_test.ok')
0 files changed, 0 insertions, 0 deletions