summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-05-04 14:33:35 -0700
committerJosh Blum <josh@joshknows.com>2011-05-04 14:34:57 -0700
commit94399062713a76a42f269a7ed4d3737ecd6ed5cf (patch)
tree2c9943d0ac8133717f1c63fd5432de110db490c7 /host/include
parent0de4f165e937168693ac758239d569a2ace60325 (diff)
downloaduhd-94399062713a76a42f269a7ed4d3737ecd6ed5cf.tar.gz
uhd-94399062713a76a42f269a7ed4d3737ecd6ed5cf.tar.bz2
uhd-94399062713a76a42f269a7ed4d3737ecd6ed5cf.zip
uhd: tweaks for logger file entries
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/utils/log.hpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/host/include/uhd/utils/log.hpp b/host/include/uhd/utils/log.hpp
index 75c335099..b3e88f865 100644
--- a/host/include/uhd/utils/log.hpp
+++ b/host/include/uhd/utils/log.hpp
@@ -49,19 +49,20 @@
*/
/*!
- * A UHD logger macro with default verbosity.
- * Usage: UHD_LOG << "the log message" << std::endl;
- */
-#define UHD_LOG \
- uhd::_log::log(uhd::_log::regularly, __FILE__, __LINE__, BOOST_CURRENT_FUNCTION)
-
-/*!
* A UHD logger macro with configurable verbosity.
* Usage: UHD_LOGV(very_rarely) << "the log message" << std::endl;
*/
#define UHD_LOGV(verbosity) \
uhd::_log::log(uhd::_log::verbosity, __FILE__, __LINE__, BOOST_CURRENT_FUNCTION)
+/*!
+ * A UHD logger macro with default verbosity.
+ * Usage: UHD_LOG << "the log message" << std::endl;
+ */
+#define UHD_LOG \
+ UHD_LOGV(regularly)
+
+
namespace uhd{ namespace _log{
//! Verbosity levels for the logger
@@ -74,7 +75,7 @@ namespace uhd{ namespace _log{
};
//! Internal logging object (called by UHD_LOG macros)
- struct UHD_API log{
+ struct /*UHD_API*/ log{
log(
const verbosity_t verbosity,
const std::string &file,