aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/image_loader.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/image_loader.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/image_loader.cpp')
-rw-r--r--host/lib/image_loader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/image_loader.cpp b/host/lib/image_loader.cpp
index 5ad257368..b7c3fda4d 100644
--- a/host/lib/image_loader.cpp
+++ b/host/lib/image_loader.cpp
@@ -25,7 +25,7 @@
#include <uhd/exception.hpp>
#include <uhd/image_loader.hpp>
#include <uhd/utils/log.hpp>
-#include <uhd/utils/msg.hpp>
+
#include <uhd/utils/static.hpp>
namespace fs = boost::filesystem;
@@ -46,8 +46,8 @@ UHD_SINGLETON_FCN(string_map_t, get_recovery_strings);
void uhd::image_loader::register_image_loader(const std::string &device_type,
const loader_fcn_t &loader_fcn,
const std::string &recovery_instructions){
- UHD_LOGV(always) << "Registering image loader and recovery instructions for "
- << device_type << std::endl;
+ UHD_LOGGER_DEBUG("UHD") << "Registering image loader and recovery instructions for "
+ << device_type;
get_image_loaders().insert(loader_fcn_pair_t(device_type, loader_fcn));
get_recovery_strings().insert(string_pair_t(device_type, recovery_instructions));