\documentclass{article}

\usepackage{lipsum}

\begin{document}

\typeout{LaTeX Warning: this warning is generated with the ``typeout'' command. Also, this warning is very long so that we are sure that it spreads over several lines in the logfile}

\lipsum[1]
\clearpage
\lipsum[10]
\clearpage
\lipsum[10]
\rule{1.2\textwidth}{2pt}

\end{document}
