Home GnuPG

qt: Add logging category

Description

qt: Add logging category

* qt/pinentry_debug.cpp, qt/pinentry_debug.h: New.
* qt/Makefile.am (pinentry_qt_SOURCES): Add new files.
* qt/main.cpp (main): Use logging category for debug messages.

The logging category allows enabling or disabling logging of messages
of certain types. By default, only warnings and more severe messages
are enabled.

Details

Provenance
ikloeckerAuthored on Aug 11 2021, 5:02 PM
Parents
rPd71d890ec23e: qt: Fix crash when setting repeat error
Branches
Unknown
Tags
Unknown
Tasks
T3659: pinentry falls back to curses on wayland