wl_protocol_logger(3)
π NAME π
wl_protocol_logger β bestie, this is the little struct that snoops on your Wayland protocol traffic for you β¨
π¦ SYNOPSIS π¦
Okay so this is a C struct, and here's everything it's packing:
πΈ Public Member Functions πΈ
void wl_protocol_logger_destroy (struct wl_protocol_logger *logger)
π Data Fields π
struct wl_list link
wl_protocol_logger_func_t func
void * user_data
π Member Function Documentation π
π
void wl_protocol_logger_destroy (struct wl_protocol_logger * logger)
Say bye-bye to a protocol logger πβ¨
This function destroys a protocol logger and removes it from the display it was added to with wl_display_add_protocol_logger. The logger object becomes invalid after calling this function.
no cap, once you call this the logger is gone gone. invalid means invalid β do not touch it after, do not pass it around, do not pass go. it's giving ghost π»
See also
wl_display_add_protocol_logger
π Field Documentation π
π§ wl_protocol_logger_func_t wl_protocol_logger::func
The callback field, bestie β your function lives here π
π struct wl_list wl_protocol_logger::link
The list linkage. It's how this logger stays hooked into the whole situation π
π void* wl_protocol_logger::user_data
Your very own pocket for whatever data you wanna carry around with the logger π«Ά
β Author β
Generated automatically by Doxygen for Wayland from the source code.
and that's the whole vibe, periodt π β¨
this lil page came to you from Wayland, Version 1.26.0, and it's wl_protocol_logger(3) in the Library Functions Manual β mwah, ily, go log some protocols bestie ππ¦π
π¦ where this page comes from
- arch rolling: wayland-docs 1.26.0-1 Β· MIT
- fedora 43: wayland-devel 1.26.0-1.fc43 Β· MIT
- fedora 43: wayland-devel 1.26.0-1.fc43 Β· MIT
- fedora 44: wayland-devel 1.26.0-1.fc44 Β· MIT
- fedora 44: wayland-devel 1.26.0-1.fc44 Β· MIT
- nixpkgs unstable: wayland 1.26.0
- ubuntu stonking: libwayland-doc 1.26.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms