From 7b5d38fbf76c216abe67d58d693e64fcf418ac24 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 6 May 2019 10:25:40 -0700 Subject: 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. --- host/tests/log_test.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/tests/log_test.cpp') 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); -- cgit v1.2.3