The <log/> command

This command enables you to emit a message into the TopLeaf log file. Moreover it allows the user to assign a severity level ranging from info (information only) to fatal (immediately halts the typesetting run and flags a fatal error).

The command format is:

<log level="LEV" message="MSG"/>

where MSG (a string) is the message to include in the log file, and LEV is one of the following:

  • info (the default) — enter a message into the log for information only;

  • warning — enter a message into the log and flag a warning;

  • error — enter a message into the log and flag an error;

  • fatal — enter a message into the log, flag a fatal error, and immediately halt the typesetting run.