spajak / cef-pdf

cef-pdf HTML to PDF utility
MIT License
77 stars 33 forks source link

[feature request] configuring runtime verbosity for debugging? #3

Closed ghost closed 3 years ago

ghost commented 6 years ago

is it possible to increase the runtime verbosity when the PDF generation occurs? I think this would be helpful for troubleshooting complex pages being generated. If it is relatively simple, I can help contribute documentation for it.

spajak commented 6 years ago

This is not a problem. What specific messages would like to see?

ghost commented 6 years ago

great to hear. Starting out out I think a single verbose level of debugging would be helpful noting what steps in converting the HTML to the PDF have occurred. As a user I've primarily want to see the operations are completing successfully and perhaps additional diagnostic info for when assets or other things within the PDF generation aren't occurring. I'm not sure if cef exposes anything here. If they do, i'd probably be fine with whatever they print out.