18 #ifndef INCLUDED_UHD_UTILS_LOG_HPP 19 #define INCLUDED_UHD_UTILS_LOG_HPP 23 #include <boost/current_function.hpp> 24 #include <boost/format.hpp> 59 #define UHD_LOGV(verbosity) \ 60 uhd::_log::log(uhd::_log::verbosity, __FILE__, __LINE__, BOOST_CURRENT_FUNCTION) 70 namespace uhd{
namespace _log{
87 const std::string &file,
88 const unsigned int line,
89 const std::string &
function 96 #define INSERTION_OVERLOAD(x) log& operator<< (x) \ 98 if(_log_it) _ss << val; \ 103 template <
typename T>
112 std::ostringstream _ss;
#define INSERTION_OVERLOAD(x)
Definition: log.hpp:96
#define UHD_API
Definition: config.hpp:79
Definition: convert.hpp:28
Internal logging object (called by UHD_LOG macros)
Definition: log.hpp:83
verbosity_t
Verbosity levels for the logger.
Definition: log.hpp:73