<div dir="ltr">To whom it may concern,<div>        I'm using a rust binding gpgme-rs of gpgme to develop my program. I would like to know if there's a way to set a callback to receive the debugging trace log, instead of printing to stderr or file.</div><div>        In Rust, we use the log crate <a href="https://docs.rs/log/latest/log/">https://docs.rs/log/latest/log/</a> to collect all logs from kinds of library, and processing them unified. So we need a way to set a logger callback to gpgme, to receive the gpgme's trace log and redirect it to the Rust log crate.</div><div>        What I'm taking about "trace log" is <a href="https://gnupg.org/documentation/manuals/gpgme/Debugging.html">https://gnupg.org/documentation/manuals/gpgme/Debugging.html</a></div><div>        I have create an issue in gpgme-rs: <a href="https://github.com/gpg-rs/gpgme/issues/47">https://github.com/gpg-rs/gpgme/issues/47</a></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="text-align:right"><br></div><div style="text-align:right">顺颂时祺</div><div style="text-align:right">Cryolitia</div></div></div></div></div></div>