Logging By default, log messages are all written to standard error. However, the logging function can be replaced by calling :cppspead2::set_log_function. spead2::set_log_function