weston/include/libweston
Derek Foreman 8e661b3c93 libweston: Add weston_log_paced()
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>
2022-11-08 08:32:26 -06:00
..
backend-drm.h DRM: Add support for HDMI content type 2022-11-03 15:40:00 +00:00
backend-headless.h headless, gl-renderer: support pbuffer outputs 2019-10-11 12:16:35 +00:00
backend-rdp.h rdp: Add audio support 2022-05-26 19:06:19 +00:00
backend-vnc.h backend-vnc: add VNC support using Neat VNC library 2022-10-18 07:31:42 +02:00
backend-wayland.h Rename public backend headers 2019-04-18 12:31:46 +03:00
backend-x11.h Rename public backend headers 2019-04-18 12:31:46 +03:00
config-parser.h tests: Use memstream for config-parser test 2022-07-05 10:15:49 +01:00
desktop.h libweston/desktop: Migrate libweston-desktop/libweston-desktop.h 2022-09-23 13:57:26 +03:00
libweston.h libweston: Add weston_log_paced() 2022-11-08 08:32:26 -06:00
matrix.h matrix: Make matrix const in weston_matrix_transform 2022-09-23 12:00:59 +00:00
meson.build backend-vnc: add VNC support using Neat VNC library 2022-10-18 07:31:42 +02:00
pipewire-plugin.h plug-ins: Migrate pipewire and remoting plug-ins headers to public header 2020-09-04 10:36:48 +00:00
plugin-registry.h Rename plugin-registry.h to libweston/plugin-registry.h 2019-04-18 12:31:46 +03:00
remoting-plugin.h plug-ins: Migrate pipewire and remoting plug-ins headers to public header 2020-09-04 10:36:48 +00:00
version.h.in Rename version.h to libweston/version.h 2019-04-18 12:31:46 +03:00
weston-log.h weston-log: Extract helper for generating a time stamp 2022-03-10 17:11:31 +02:00
windowed-output-api.h Fix indentation all through the project 2021-07-31 15:28:20 +00:00
xwayland-api.h Rename xwayland-api.h to libweston/xwayland-api.h 2019-04-18 12:31:46 +03:00
zalloc.h Rename zalloc.h to libweston/zalloc.h 2019-04-18 12:31:46 +03:00