diff options
author | Nathan West <nathan.west@okstate.edu> | 2016-04-27 02:29:43 -0400 |
---|---|---|
committer | Nathan West <nathan.west@gnuradio.org> | 2016-08-04 11:37:42 -0400 |
commit | c8ffbf08723f10a2455d3de9e04f8a94bbf70c15 (patch) | |
tree | 48d352d37fa47e7df39cabf910cf85f501d6c88b /gnuradio-runtime/include/gnuradio/hier_block2.h | |
parent | 2e74eeffaf63ff7d67e813e937a0e10038fe49ac (diff) |
runtime: expose set_log_level for hier_blocks
Diffstat (limited to 'gnuradio-runtime/include/gnuradio/hier_block2.h')
-rw-r--r-- | gnuradio-runtime/include/gnuradio/hier_block2.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnuradio-runtime/include/gnuradio/hier_block2.h b/gnuradio-runtime/include/gnuradio/hier_block2.h index 08a5389e96..6666906bfc 100644 --- a/gnuradio-runtime/include/gnuradio/hier_block2.h +++ b/gnuradio-runtime/include/gnuradio/hier_block2.h @@ -267,6 +267,26 @@ namespace gr { std::vector<int> processor_affinity(); /*! + * \brief Set the logger's output level. + * + * Sets the level of the logger for all connected blocks. This takes + * a string that is translated to the standard levels and can be + * (case insensitive): + * + * \li off , notset + * \li debug + * \li info + * \li notice + * \li warn + * \li error + * \li crit + * \li alert + * \li fatal + * \li emerg + */ + void set_log_level(std::string level); + + /*! * \brief Get if all block min buffers should be set. * * \details this returns whether all the block min output buffers |