Skip to content

Log information from Lua Filters #9662

Open
@estedeahora

Description

@estedeahora

It would be interesting if the log file (--log=file) could store the output of the lua filters generated by the error and io.write functions. Currently it only saves the output of warn. In the related discussion, @jgm and @tarleb suggested "provide a report function" to address the problem.

Thanks in advance for the work.

Discussed in #9659

Originally posted by estedeahora April 14, 2024
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!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions