Skip to content

Use a logger for debug logging and add --verbose

Peter Hutterer requested to merge whot/udev-hid-bpf:wip/log into main

Instead of passing around a debug boolean everywhere, initialize a logger with the right debug level and go from there. libbpf_rs has its own message printing approach so let's hook into that to forward the events to our logger.

And since libbpf_rs debugging is really verbose, switch to use --debug for that and --verbose for general verbose output.

Merge request reports

Loading