aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/version.cpp
diff options
context:
space:
mode:
authorAndrej Rode <andrej.rode@ettus.com>2017-02-07 16:37:25 -0800
committerMartin Braun <martin.braun@ettus.com>2017-02-20 17:13:15 -0800
commit21aad77c9ca07f4271136b9241f5adb00a6bb908 (patch)
tree636ffe3ab2296e9afa661d3a12eb359224cd3254 /host/lib/version.cpp
parent2b33f2bb4c01d4306fd46f78edf6e355a03e2ed7 (diff)
downloaduhd-21aad77c9ca07f4271136b9241f5adb00a6bb908.tar.gz
uhd-21aad77c9ca07f4271136b9241f5adb00a6bb908.tar.bz2
uhd-21aad77c9ca07f4271136b9241f5adb00a6bb908.zip
utils: introduce new logging API and remove msg API
Diffstat (limited to 'host/lib/version.cpp')
-rw-r--r--host/lib/version.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/version.cpp b/host/lib/version.cpp
index 2b7125e55..2da261af0 100644
--- a/host/lib/version.cpp
+++ b/host/lib/version.cpp
@@ -17,17 +17,17 @@
#include <uhd/version.hpp>
#include <uhd/utils/static.hpp>
+#include <uhd/utils/log.hpp>
#include <boost/version.hpp>
#include <iostream>
#ifndef UHD_DONT_PRINT_SYSTEM_INFO
UHD_STATIC_BLOCK(print_system_info){
- std::cout
+ UHD_LOGGER_INFO("UHD")
<< BOOST_PLATFORM << "; "
<< BOOST_COMPILER << "; "
<< "Boost_" << BOOST_VERSION << "; "
<< "UHD_" << uhd::get_version_string()
- << std::endl << std::endl
;
}
#endif