Log file with lua filter information #9659
-
I am using pandoc with a set of custom lua filters. In the call to pandoc I use '--log=file.log', but I am interested in this log file incorporating information arising from the lua filters. In the lua filter I display this information in the console via io.write or error. Is there any way to incorporate this directly into the 'file.log'? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I don't believe there is. @tarleb would it be feasible to expose a function that calls |
Beta Was this translation helpful? Give feedback.
-
Using warn should generate a pandoc log entry (since pandoc 3.1.4). Console output can then be controlled via |
Beta Was this translation helpful? Give feedback.
Using warn should generate a pandoc log entry (since pandoc 3.1.4). Console output can then be controlled via
warn('@on')
andwarn('@off')
.