diff options
author | David Winter <david.winter@analog.com> | 2021-09-28 13:42:54 +0200 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-10-21 10:59:16 -0400 |
commit | db01027fd99c882cf8b3a7dad854606499778e3b (patch) | |
tree | 2b2acc3584dc36668ef3fb2493598e7abf7abd3c /gnuradio-runtime/lib/logger.cc | |
parent | 61709059f2e40a04ada73785812f19a5fc89cb8a (diff) |
global: Replace stdio logging with logger
This commit replaces many uses of std::c{out,err} and printf with the
appropriate GR_LOG_* directives.
Signed-off-by: David Winter <david.winter@analog.com>
Diffstat (limited to 'gnuradio-runtime/lib/logger.cc')
-rw-r--r-- | gnuradio-runtime/lib/logger.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/logger.cc b/gnuradio-runtime/lib/logger.cc index 3e9b313de7..4721571119 100644 --- a/gnuradio-runtime/lib/logger.cc +++ b/gnuradio-runtime/lib/logger.cc @@ -83,7 +83,7 @@ void logger_config::watch_file(std::string filename, unsigned int watch_period) boost::this_thread::sleep( boost::posix_time::time_duration(0, 0, watch_period, 0)); } catch (const boost::thread_interrupted&) { - std::cout << "GNURadio leaving logger config file watch." << std::endl; + std::cerr << "GNURadio leaving logger config file watch." << std::endl; break; } } |