[PATCH libevdev 5/9] Drop per-device logging function, use per-library one instead

Benjamin Tissoires benjamin.tissoires at gmail.com
Mon Sep 9 07:58:42 PDT 2013


On Tue, Sep 3, 2013 at 9:07 AM, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> There's no need to have separate logging function for each device created.
> More likely, libevdev will be hooked up once into the logging system and
> expected to deal with it.
>
> Plus, this allows us to log from the uinput code where we don't
> have the context anyway.
>
> Requires a rename to libevdev_set_log_function to avoid ABI breaks, and
> while we're breaking the ABI make the logging function more sophisticated
> to log line, number, etc.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
Reviewed-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>


More information about the Input-tools mailing list