diff options
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/utils/log.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/utils/log.cpp b/host/lib/utils/log.cpp index b5c96867b..8bcf13ebc 100644 --- a/host/lib/utils/log.cpp +++ b/host/lib/utils/log.cpp @@ -462,6 +462,9 @@ private: const uhd::log::severity_level level = uhd::log::info, const std::string& component = "LOGGING") { + if (level < global_level) { + return; + } auto log_msg = uhd::log::logging_info(pt::microsec_clock::local_time(), level, __FILE__, |