.TH "include/wayland-server.hpp" 3 "Wed May 3 2023" "Version 1.0.0" "Wayland++" \" -*- nroff -*- .ad l .nh .SH NAME include/wayland-server.hpp .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br .SS "Classes" .in +1c .ti -1c .RI "class \fBwayland::server::global_base_t\fP" .br .ti -1c .RI "class \fBwayland::server::global_t< resource >\fP" .br .in -1c .SS "Typedefs" .in +1c .ti -1c .RI "using \fBwayland::server::log_handler\fP = std::function< void(std::string)>" .br .RI "Type for functions that handle log messages\&. " .in -1c .SS "Functions" .in +1c .ti -1c .RI "void \fBwayland::server::set_log_handler\fP (const log_handler &handler)" .br .RI "Set C library log handler\&. " .in -1c .SH "Typedef Documentation" .PP .SS "using \fBwayland::server::log_handler\fP = typedef std::function" .PP Type for functions that handle log messages\&. Log message is the first argument .PP Definition at line \fB57\fP of file \fBwayland\-server\&.hpp\fP\&. .SH "Function Documentation" .PP .SS "void wayland::server::set_log_handler (const \fBlog_handler\fP & handler)" .PP Set C library log handler\&. The C library sometimes logs important information such as protocol error messages, by default to the standard output\&. This can be used to set an alternate function that will receive those messages\&. .PP \fBParameters\fP .RS 4 \fIhandler\fP function that should be called for C library log messages .RE .PP .SH "Author" .PP Generated automatically by Doxygen for Wayland++ from the source code\&.