diff options
author | Josh Blum <josh@joshknows.com> | 2011-05-04 15:27:11 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-05-04 15:27:11 -0700 |
commit | c8dca30d72eb733d154ab9dd193631c42b8e4788 (patch) | |
tree | ded51d25f2cbdd319e28f9af906620d7efc412ff /host/lib/convert | |
parent | 94399062713a76a42f269a7ed4d3737ecd6ed5cf (diff) | |
download | uhd-c8dca30d72eb733d154ab9dd193631c42b8e4788.tar.gz uhd-c8dca30d72eb733d154ab9dd193631c42b8e4788.tar.bz2 uhd-c8dca30d72eb733d154ab9dd193631c42b8e4788.zip |
uhd: replaced many conditional prints with UHD_LOG usage
Diffstat (limited to 'host/lib/convert')
-rw-r--r-- | host/lib/convert/convert_impl.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/host/lib/convert/convert_impl.cpp b/host/lib/convert/convert_impl.cpp index d43cecfec..9b2cdcdc9 100644 --- a/host/lib/convert/convert_impl.cpp +++ b/host/lib/convert/convert_impl.cpp @@ -16,16 +16,14 @@ // #include <uhd/convert.hpp> +#include <uhd/utils/log.hpp> #include <uhd/utils/static.hpp> #include <uhd/exception.hpp> -#include <iostream> using namespace uhd; #include "convert_pred.hpp" -static const bool debug = false; - /*********************************************************************** * Define types for the function tables **********************************************************************/ @@ -78,7 +76,7 @@ void uhd::convert::register_converter( } //----------------------------------------------------------------// - if (debug) std::cout << "register_converter: " << markup << std::endl + UHD_LOGV(always) << "register_converter: " << markup << std::endl << " prio: " << prio << std::endl << " pred: " << pred << std::endl << " dir: " << dir << std::endl |