diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-01-16 02:56:01 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-01-17 11:13:58 +0000 |
commit | f3fa3694f596b50a5d85ae1e8b2a8627a3308a7e (patch) | |
tree | 59bd7c029c20f34c00f8188df9254cb8c77462a7 /.gitreview | |
parent | 886e548ab080896da6760036f38b93ff97fd01a4 (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 '.gitreview')
0 files changed, 0 insertions, 0 deletions