clockblocks.debug.log_multi

clockblocks.debug.log_multi(position: str, *comment_args) None[source]

Add a log entry with the given position tag.

Parameters:
  • position – a tag to represent the position in the code where the log is happening

  • comment_args – arguments alternating between variable names and variable values. For instance, if we call log_multi("position_tag", "x", x, "y", y) when x is 7 and y is 42, the log entry will read “Clock (clock) at checkpoint position_tag: x=7, y=42”.