I would like to be able to have some kind of logging command that is able to log text to the default pdflatex logfile (
<input-base-filename>.log). Is this possible, and if so, how?
In particular, I'd like to be able to use this command inside the document (i.e. between