aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/udp_simple.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-05-04 15:27:11 -0700
committerJosh Blum <josh@joshknows.com>2011-05-04 15:27:11 -0700
commitc8dca30d72eb733d154ab9dd193631c42b8e4788 (patch)
treeded51d25f2cbdd319e28f9af906620d7efc412ff /host/lib/transport/udp_simple.cpp
parent94399062713a76a42f269a7ed4d3737ecd6ed5cf (diff)
downloaduhd-c8dca30d72eb733d154ab9dd193631c42b8e4788.tar.gz
uhd-c8dca30d72eb733d154ab9dd193631c42b8e4788.tar.bz2
uhd-c8dca30d72eb733d154ab9dd193631c42b8e4788.zip
uhd: replaced many conditional prints with UHD_LOG usage
Diffstat (limited to 'host/lib/transport/udp_simple.cpp')
-rw-r--r--host/lib/transport/udp_simple.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/transport/udp_simple.cpp b/host/lib/transport/udp_simple.cpp
index 1ee036d52..ed778fbf4 100644
--- a/host/lib/transport/udp_simple.cpp
+++ b/host/lib/transport/udp_simple.cpp
@@ -17,8 +17,8 @@
#include "udp_common.hpp"
#include <uhd/transport/udp_simple.hpp>
+#include <uhd/utils/log.hpp>
#include <boost/format.hpp>
-#include <iostream>
using namespace uhd::transport;
namespace asio = boost::asio;
@@ -31,7 +31,7 @@ public:
udp_simple_impl(
const std::string &addr, const std::string &port, bool bcast, bool connect
):_connected(connect){
- //std::cout << boost::format("Creating udp transport for %s %s") % addr % port << std::endl;
+ UHD_LOG << boost::format("Creating udp transport for %s %s") % addr % port << std::endl;
//resolve the address
asio::ip::udp::resolver resolver(_io_service);