gpgme: debugging trace callback

Cryolitia PukNgae via Gnupg-devel <[email protected]>
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <CAANcMP=Lk1y+FzS17GmR-cj0D6Mv4oXo=bZ=6p4rQ9LBcHLs5g@mail.gmail.com>
To whom it may concern,
        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.
        In Rust, we use the log crate https://docs.rs/log/latest/log/ 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.
        What I'm taking about "trace log" is
https://gnupg.org/documentation/manuals/gpgme/Debugging.html
        I have create an issue in gpgme-rs:
https://github.com/gpg-rs/gpgme/issues/47


顺颂时祺
Cryolitia

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.