From f2e68440d6ebd7e8b0bc0e0bd9562625f295da37 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 19 Apr 2018 11:53:29 -0700 Subject: 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 --- host/include/uhd/utils/log.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/include') 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 { -- cgit v1.2.3