diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-03-19 13:28:22 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-03-19 13:28:22 -0700 |
commit | 053cd3fea7eb01b8eef8fba723d123fac9417f50 (patch) | |
tree | 891c09edbece6f6b99c6e7626af4a25db99e9c8d | |
parent | a9c51009e99bfaf004b5081a92aad4567acf5560 (diff) | |
download | uhd-053cd3fea7eb01b8eef8fba723d123fac9417f50.tar.gz uhd-053cd3fea7eb01b8eef8fba723d123fac9417f50.tar.bz2 uhd-053cd3fea7eb01b8eef8fba723d123fac9417f50.zip |
docs: Purged stray references to register_handler
This is a no-longer-supported API call from before the logging API
restructuring.
-rw-r--r-- | host/docs/general.dox | 17 | ||||
-rw-r--r-- | host/utils/latency/lib/Responder.cpp | 3 |
2 files changed, 2 insertions, 18 deletions
diff --git a/host/docs/general.dox b/host/docs/general.dox index 06a8887c9..df3e515ce 100644 --- a/host/docs/general.dox +++ b/host/docs/general.dox @@ -212,21 +212,8 @@ For a module to be loaded at runtime, it must be: \subsection general_misc_prints Disabling or redirecting prints to stdout -The user can disable the UHD library from printing directly to stdout by -registering a custom message handler. The handler will intercept all -messages, which can be dropped or redirected. Only one handler can be -registered at a time. Make **register_handler** your first call into -the UHD library: - -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.cpp} - - -void my_handler(uhd::msg::type_t type, const std::string &msg){ -//handle the message... -} - -uhd::msg::register_handler(&my_handler); -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +UHD will never print to stdout (this was changed in the 3.11.0.0 release). +To find out more about configuring UHD logging, see \ref page_logging. */ // vim:ft=doxygen: diff --git a/host/utils/latency/lib/Responder.cpp b/host/utils/latency/lib/Responder.cpp index 1b0450a23..8cb1170db 100644 --- a/host/utils/latency/lib/Responder.cpp +++ b/host/utils/latency/lib/Responder.cpp @@ -152,9 +152,6 @@ Responder::Responder( Options& opt) return; } - // set up handlers for test run - // uhd::msg::register_handler(&_late_handler); // capture UHD output. - cerr_redirect(_ss_cerr.rdbuf()); register_stop_signal_handler(); } |