diff options
author | Nathan West <nathan.west@okstate.edu> | 2016-04-25 15:44:17 -0400 |
---|---|---|
committer | Nathan West <nathan.west@gnuradio.org> | 2016-08-04 11:37:42 -0400 |
commit | 26f027fd7e9657d181f26048cf81600a5613636b (patch) | |
tree | 5d6d81e9b161cf2f9b92b028a1ebed7ddd25e7c3 /gnuradio-runtime/lib | |
parent | 675afc063c9ca5ccec3ede43d87aac83c1928182 (diff) |
runtime: expose set_log_level for blocks
Diffstat (limited to 'gnuradio-runtime/lib')
-rw-r--r-- | gnuradio-runtime/lib/block.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnuradio-runtime/lib/block.cc b/gnuradio-runtime/lib/block.cc index e329e0657a..4a6529708a 100644 --- a/gnuradio-runtime/lib/block.cc +++ b/gnuradio-runtime/lib/block.cc @@ -715,6 +715,12 @@ namespace gr { } void + block::set_log_level(std::string level) + { + logger_set_level(d_logger, level); + } + + void block::notify_msg_neighbors() { size_t len = pmt::length(d_message_subscribers); |