pw_log_basic is a
pw_log backend that sends logs over
default. The destination of
pw_sys_io depends on the
in use. This is controlled by the
dir_pw_sys_io_backend variable in a
The log output may be changed from
pw_sys_io to an arbitrary function by
void SetOutput(void (*log_output)(std::string_view))#
Set the log output function, which defaults
pw_sys_io::WriteLine. This function is called with each formatted log message.
This module employs an internal buffer for formatting log strings, and currently has a fixed size of 150 bytes. Any final log statements that are larger than 149 bytes (one byte used for a null terminator) will be truncated.
The documentation for this module is currently incomplete.