aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/utils/log.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/include/uhd/utils/log.hpp b/host/include/uhd/utils/log.hpp
index d90fb4667..ce6ce16e7 100644
--- a/host/include/uhd/utils/log.hpp
+++ b/host/include/uhd/utils/log.hpp
@@ -182,8 +182,12 @@ namespace uhd {
#define UHD_LOG_FATAL(component, message)
#endif
+#ifndef UHD_LOG_FASTPATH_DISABLE
#define UHD_LOG_FASTPATH(message) \
std::cerr << message << std::flush;
+#else
+#define UHD_LOG_FASTPATH(message)
+#endif
// iostream-style logging
#define UHD_LOGGER_TRACE(component) _UHD_LOG_INTERNAL(component, uhd::log::trace)