Aspose.Words .NET how to enable logging

Aspose.Words .NET
The problem is missing images when creating word documents from html. Can we enable logging or any other way to find out how the aspose is getting (loading) images.

@itsura,
The HtmlLoadOptions.ResourceLoadingCallback property can be used to control how external resources (images, style sheets) are loaded when a document is imported from HTML, MHTML.
Please ZIP and upload your input HTML file and Aspose.Words generated output Word document showing the undesired behavior here for testing. We will then investigate the issue on our end and provide you more information.

Thank you,
For the fast response and information. I will try out first the callback, maybe it will help me to find out and resolve the problem.

@itsura,
We also have IWarningCallback Interface in Aspose.Words that you may implement to have your own custom method called to capture loss of fidelity warnings that can occur during document loading or saving.

Hello,
Manage to find that the problem is when the picture is coming from server using Transport Layer Security (TLS) 1.2 security protocol.
We are currently using Aspose 20.7.0 version
So we figure that out, needed to set the ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
Thanks for support.

@itsura,
It is great that you were able to find what you were looking for. Please let us know any time you may have any further queries in future.