summaryrefslogtreecommitdiffstats
path: root/src/ctrl/control_cmd.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-01-16 02:56:01 +0100
committerHarald Welte <laforge@gnumonks.org>2018-01-17 11:13:58 +0000
commitf3fa3694f596b50a5d85ae1e8b2a8627a3308a7e (patch)
tree59bd7c029c20f34c00f8188df9254cb8c77462a7 /src/ctrl/control_cmd.c
parent886e548ab080896da6760036f38b93ff97fd01a4 (diff)
logging: color the log level
When log_set_use_color() is enabled, color the log level string according to the log level. The log line before and after the log level is printed in the category's color. ERROR and FATAL are red, NOTICE is yellow, INFO is green and DEBUG is blue. The default behavior remains unchanged. Change-Id: If2e52ae9ab83e538e04321c338e3fdffb2c7f9d3
Diffstat (limited to 'src/ctrl/control_cmd.c')
0 files changed, 0 insertions, 0 deletions