---
name: "wl_protocol_logger"
section: "3"
platform: "linux"
package: "wayland-docs"
version: "1.26.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/wl_protocol_logger"
---

# wl\_protocol\_logger(3)

## NAME

wl\_protocol\_logger

## SYNOPSIS

### 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)

Destroys 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.

**See also**

**wl\_display\_add\_protocol\_logger**

## Field Documentation

### wl\_protocol\_logger\_func\_t wl\_protocol\_logger::func

### struct wl\_list wl\_protocol\_logger::link

### void\* wl\_protocol\_logger::user\_data

## Author

Generated automatically by Doxygen for Wayland from the source code.
