diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-05-06 10:25:40 -0700 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-05-07 18:39:18 -0700 |
commit | 7b5d38fbf76c216abe67d58d693e64fcf418ac24 (patch) | |
tree | d34c2b854a26961b4c1f5c903d59f10d349a8ec4 /host/tests/log_test.cpp | |
parent | bd2c992cda6077dc4f575b1e1cedf2f2428f491c (diff) | |
download | uhd-7b5d38fbf76c216abe67d58d693e64fcf418ac24.tar.gz uhd-7b5d38fbf76c216abe67d58d693e64fcf418ac24.tar.bz2 uhd-7b5d38fbf76c216abe67d58d693e64fcf418ac24.zip |
log: Fix ANSI colour codes
The colour codes used for console logging were incorrectly defined.
Some colours would simply not rendered this way (e.g., red), others
had the boldness flag wrong.
Diffstat (limited to 'host/tests/log_test.cpp')
-rw-r--r-- | host/tests/log_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/tests/log_test.cpp b/host/tests/log_test.cpp index d9eae09f1..66afa315f 100644 --- a/host/tests/log_test.cpp +++ b/host/tests/log_test.cpp @@ -24,6 +24,7 @@ BOOST_AUTO_TEST_CASE(test_messages) UHD_LOGGER_INFO("logger_test") << "This is a test print for a info log."; UHD_LOGGER_WARNING("logger_test") << "This is a test print for a warning log."; UHD_LOGGER_ERROR("logger_test") << "This is a test print for an error log."; + UHD_LOGGER_FATAL("logger_test") << "This is a test print for a fatal error log."; UHD_HERE(); const int x = 42; UHD_VAR(x); |