JessicaTegner / pypandoc

Thin wrapper for "pandoc" (MIT)
http://pypi.python.org/pypi/pypandoc/
Other
875 stars 111 forks source link

Add a debug parameter #320

Closed JessicaTegner closed 1 year ago

JessicaTegner commented 1 year ago

It could be useful to have a debug parameter to add more logging such as which files was found in the glob patterns in the convert* functions, what the command we are passing to pandoc look like and so on.

What do people think.

saumzzz commented 1 year ago

Along with that can we disable setting the log level for the root logger by default here? https://github.com/JessicaTegner/pypandoc/blob/master/pypandoc/handler.py#L15

JessicaTegner commented 1 year ago

@saumcor indeed. We should make a pypandoc sublogger