summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/block.cc
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2021-08-03 13:05:37 +0200
committermormj <34754695+mormj@users.noreply.github.com>2021-11-19 14:00:08 -0500
commit1bb08e8004aa8ba6637db3f06abdc283ea56c18a (patch)
tree39140de01d77dee6999f85e90d9fa9dc7cf8471f /gnuradio-runtime/lib/block.cc
parentcb60862fd493a0141946ff9dddc5a98c9c67690b (diff)
logging core: replace log4cpp by spdlog
also: enable formerly disabled qa_logger tests This replaces log4cpp with spdlog. Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gnuradio-runtime/lib/block.cc')
-rw-r--r--gnuradio-runtime/lib/block.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-runtime/lib/block.cc b/gnuradio-runtime/lib/block.cc
index f2970cd667..d4a1e1c6c1 100644
--- a/gnuradio-runtime/lib/block.cc
+++ b/gnuradio-runtime/lib/block.cc
@@ -762,12 +762,12 @@ void block::system_handler(pmt::pmt_t msg)
}
}
-void block::set_log_level(std::string level) { logger_set_level(d_logger, level); }
+void block::set_log_level(std::string level) { d_logger->set_level(level); }
std::string block::log_level()
{
std::string level;
- logger_get_level(d_logger, level);
+ d_logger->get_level(level);
return level;
}