27.5.3 \wlog

Synopsis:

\wlog{string}

Write string to the log file.

\wlog{Did you hear about the mathematician who hates negatives?}
\wlog{He'll stop at nothing to avoid them.}

Ordinarily string appears in a single separate line. Use ^^J to insert a newline.

\wlog{Helvetica and Times Roman walk into a bar.}
\wlog{The barman says,^^JWe don't serve your type.}

Unofficial LaTeX2e reference manual