mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-05-03 06:46:33 -04:00
log: expose wl_debug_handler for custom print debug message
issue: https://gitlab.freedesktop.org/wayland/wayland/-/issues/534 Signed-off-by: guoyao <guoyao@uniontech.com>
This commit is contained in:
parent
9b169ff945
commit
1423fbffda
8 changed files with 33 additions and 1 deletions
|
|
@ -2719,6 +2719,12 @@ wl_proxy_wrapper_destroy(void *proxy_wrapper)
|
|||
free(wrapper);
|
||||
}
|
||||
|
||||
WL_EXPORT void
|
||||
wl_debug_set_handler_client(wl_debug_func_t handler)
|
||||
{
|
||||
wl_debug_handler = handler;
|
||||
}
|
||||
|
||||
WL_EXPORT void
|
||||
wl_log_set_handler_client(wl_log_func_t handler)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue