Adding Log Entries

You can set up a log entry to generate enhanced debugging information for your project.
To add a log entry:
  1. Go to the RULES view on the left side of the screen.
  2. Right click on a container rule.
  3. Select Add Log Entry from the list:
  4. Enter a string as a description for the log entry in the Add Log Entry dialog:
  5. Click Add to add the log entry and close the Add Log Entry dialog.
    Once you set up the log entry, the output is displayed in the LOGGING INFORMATION from the Validation Window.
  6. For complex debugging cases, you can define variables to be added to the log entry:
    1. Right click on Document.
    2. Select Set Variable to add variable.
  7. Add the variable to the log entry by editing the field.
  8. To show the logging information in the control file, check the [Export] option from Rules properties.
  9. You can also see your logging information in the validation window when you validate your PDF.
The log string can consist of:
  • Any custom text that you want.
  • Variables values: specified with a "$" character in front (example: $myVariable).
  • Variables with detailed info: specified with a "%$" string in front (example: %$myVariable).
  • Special built in variables: current element box with "%box", the current cursor with "%cur" or the entire environment set of variables with "%printenv" (equivalent of <PrintEnv>).
  • Any mathematical expression using the <Expr>...</Expr> tags .