From 053cd3fea7eb01b8eef8fba723d123fac9417f50 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 19 Mar 2018 13:28:22 -0700 Subject: docs: Purged stray references to register_handler This is a no-longer-supported API call from before the logging API restructuring. --- host/docs/general.dox | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'host/docs') 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: -- cgit v1.2.3