diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2020-04-11 00:43:39 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2020-04-13 15:55:41 +0200 |
commit | 0f88db1ef0569bf6fcd5e9c843da38d487a6f54b (patch) | |
tree | 4c9827377c0e98fe223f39edb0c84c8a49c199e9 /gnuradio-runtime/lib/block_executor.h | |
parent | ec8a92846a388cb0d2982822ea1961910cd552f8 (diff) |
runtime: replace stderr logging by calls to GR's logging facilties
Diffstat (limited to 'gnuradio-runtime/lib/block_executor.h')
-rw-r--r-- | gnuradio-runtime/lib/block_executor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/block_executor.h b/gnuradio-runtime/lib/block_executor.h index 3b7089419b..9e123b180a 100644 --- a/gnuradio-runtime/lib/block_executor.h +++ b/gnuradio-runtime/lib/block_executor.h @@ -12,6 +12,7 @@ #define INCLUDED_GR_RUNTIME_BLOCK_EXECUTOR_H #include <gnuradio/api.h> +#include <gnuradio/logger.h> #include <gnuradio/runtime_types.h> #include <gnuradio/tags.h> #include <fstream> @@ -27,7 +28,8 @@ class GR_RUNTIME_API block_executor { protected: block_sptr d_block; // The block we're trying to run - std::unique_ptr<std::ofstream> d_log; + gr::logger_ptr d_logger; + gr::logger_ptr d_debug_logger; // These are allocated here so we don't have to on each iteration |