diff options
| author | Martin Braun <martin.braun@ettus.com> | 2019-05-06 10:26:35 -0700 | 
|---|---|---|
| committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-05-07 18:39:18 -0700 | 
| commit | ed36761e2919df2e4ba350dec773efbe2a6306aa (patch) | |
| tree | 6bdd7a46f7ebf0327d4963a6fc02f541637c602c /host/lib | |
| parent | 7b5d38fbf76c216abe67d58d693e64fcf418ac24 (diff) | |
| download | uhd-ed36761e2919df2e4ba350dec773efbe2a6306aa.tar.gz uhd-ed36761e2919df2e4ba350dec773efbe2a6306aa.tar.bz2 uhd-ed36761e2919df2e4ba350dec773efbe2a6306aa.zip | |
log: Change logging colours
TRACE: Remains purple, but that's now no longer bright
ERROR: Is now bright red (was non-bold red before)
FATAL: Is now red-on-yellow
Diffstat (limited to 'host/lib')
| -rw-r--r-- | host/lib/utils/log.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/host/lib/utils/log.cpp b/host/lib/utils/log.cpp index 125f4699f..5a2af6603 100644 --- a/host/lib/utils/log.cpp +++ b/host/lib/utils/log.cpp @@ -49,11 +49,11 @@ std::string verbosity_color(const uhd::log::severity_level& level)          case (uhd::log::info):              return GREEN;          case (uhd::log::warning): -            return YELLOW; +            return BYELLOW;          case (uhd::log::error): -            return RED; -        case (uhd::log::fatal):              return BRED; +        case (uhd::log::fatal): +            return RED_ON_YELLOW;          default:              return RESET_COLORS;      } | 
