aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-04-19 11:53:29 -0700
committerMartin Braun <martin.braun@ettus.com>2018-04-26 17:44:49 -0700
commitf2e68440d6ebd7e8b0bc0e0bd9562625f295da37 (patch)
tree1ae38e5339faf6eb4065d8ad1f1f6f1a9a6b041b /host/include
parenta061c617de11b433b1fae733738a2984c83f00dc (diff)
downloaduhd-f2e68440d6ebd7e8b0bc0e0bd9562625f295da37.tar.gz
uhd-f2e68440d6ebd7e8b0bc0e0bd9562625f295da37.tar.bz2
uhd-f2e68440d6ebd7e8b0bc0e0bd9562625f295da37.zip
log: Allow disabling of fastpath msgs at runtime
- Fixes an issue with compile time disabling as well - An UHD_LOG_FASTPATH_DISABLE=1 env var will make it that O/U/S/D won't be printed
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/utils/log.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/include/uhd/utils/log.hpp b/host/include/uhd/utils/log.hpp
index a1cd5c96d..f57ea3451 100644
--- a/host/include/uhd/utils/log.hpp
+++ b/host/include/uhd/utils/log.hpp
@@ -265,7 +265,7 @@ namespace uhd {
namespace uhd{ namespace _log {
//! Fastpath logging
- void UHD_API log_fastpath(const std::string &msg);
+ void UHD_API log_fastpath(const std::string &);
//! Internal logging object (called by UHD_LOG* macros)
class UHD_API log {