8e661b3c93
We have a few places where we log messages only the first time they occur. Provide a log throttling implementation so we don't have to open code this in all the places that need it. Instead of just logging a single time, allow some finer control. We allow logging of a specified number of events. Additionally, we have an optional timeout after which the event count is reset so we can log at most N events in M ms. The first new event printed after the timeout expires will also include a count of suppressed events. Signed-off-by: Derek Foreman <derek.foreman@collabora.com> |
||
---|---|---|
.. | ||
backend-drm.h | ||
backend-headless.h | ||
backend-rdp.h | ||
backend-vnc.h | ||
backend-wayland.h | ||
backend-x11.h | ||
config-parser.h | ||
desktop.h | ||
libweston.h | ||
matrix.h | ||
meson.build | ||
pipewire-plugin.h | ||
plugin-registry.h | ||
remoting-plugin.h | ||
version.h.in | ||
weston-log.h | ||
windowed-output-api.h | ||
xwayland-api.h | ||
zalloc.h |