libassuan library is designed so that it can be used in a
threaded application, if some rules are followed.
assuan_set_log_cbshould not be called concurrently with
assuan_new_extinstead or ensure proper serialization.
assuan_set_assuan_log_streamto setup a default log stream.
libassuandoes not serialize invocation of callback functions across contexts.