summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan West <nathan.west@okstate.edu>2016-04-25 16:09:23 -0400
committerNathan West <nathan.west@gnuradio.org>2016-08-04 11:37:42 -0400
commit2e74eeffaf63ff7d67e813e937a0e10038fe49ac (patch)
treea96e0064a567aeac1af9acd7162971e33c117104
parent26f027fd7e9657d181f26048cf81600a5613636b (diff)
runtime: add documentation for block set_log_level
-rw-r--r--gnuradio-runtime/include/gnuradio/block.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnuradio-runtime/include/gnuradio/block.h b/gnuradio-runtime/include/gnuradio/block.h
index f7aa294764..4e6f607e25 100644
--- a/gnuradio-runtime/include/gnuradio/block.h
+++ b/gnuradio-runtime/include/gnuradio/block.h
@@ -633,6 +633,23 @@ namespace gr {
*/
void system_handler(pmt::pmt_t msg);
+ /*!
+ * \brief Set the logger's output level.
+ *
+ * Sets the level of the logger. 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);
/*!