From 3fd576a26505892db72068ce436daaa915414832 Mon Sep 17 00:00:00 2001 From: Balint Seeber Date: Wed, 26 Nov 2014 10:22:52 -0800 Subject: ks: different colours for OULSD status letters, timestamp 'Stopping' message --- tools/kitchen_sink/kitchen_sink.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tools/kitchen_sink/kitchen_sink.cpp') diff --git a/tools/kitchen_sink/kitchen_sink.cpp b/tools/kitchen_sink/kitchen_sink.cpp index c73eafbe4..f350f4516 100644 --- a/tools/kitchen_sink/kitchen_sink.cpp +++ b/tools/kitchen_sink/kitchen_sink.cpp @@ -171,14 +171,20 @@ static void _select_msg_colour(char c, std::stringstream& ss) switch (c) { case 'U': + ss << COLOUR_MAGENTA; + break; case 'L': ss << COLOUR_RED; break; case 'S': + ss << COLOUR_CYAN; + break; case 'O': - case 'D': ss << COLOUR_GREEN; break; + case 'D': + ss << COLOUR_YELLOW; + break; default: ss << COLOUR_BLACK; } @@ -1844,7 +1850,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ running = false; - std::cout << HEADER "Stopping..." << std::endl; + std::cout << HEADER << "(" << get_stringified_time() << ") Stopping..." << std::endl; // FIXME: Timed wait & re-enable interruptions -- cgit v1.2.3