Using the Log() function to debug a template
The Log() function takes one argument and would look something like:
«
Log(Reached the paragraph after A)
»
This creates a log message in a file called LogXpressDox.txt which you can find in your My Documents folder. You can insert as many Log() functions into a template as necessary. Logging messages in this txt file can be helpful when troubleshooting large template sets, to help give context to errors.