aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-05-06 10:25:40 -0700
committermichael-west <michael.west@ettus.com>2019-05-21 21:37:19 -0700
commit32ececbf36508a374d471ea370897b1c17cf1294 (patch)
tree25148e902ee18a430daa48a101775cf5d2775bf9 /host/tests
parent03d72eee1afd2a25507cd83c966be6a578ac9e37 (diff)
downloaduhd-32ececbf36508a374d471ea370897b1c17cf1294.tar.gz
uhd-32ececbf36508a374d471ea370897b1c17cf1294.tar.bz2
uhd-32ececbf36508a374d471ea370897b1c17cf1294.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')
-rw-r--r--host/tests/log_test.cpp1
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);