Logging¶
By default, log messages are all written to standard error. However, the
logging function can be replaced by calling
spead2::set_log_function()
.
-
void
spead2::
set_log_function
(std::function<void(log_level, const std::string&)> f)¶
By default, log messages are all written to standard error. However, the
logging function can be replaced by calling
spead2::set_log_function()
.
spead2::
set_log_function
(std::function<void(log_level, const std::string&)> f)¶