I would like to add a variable from a for loop to a the logging formatter. It seemed quite intuitive to achieve this by replacing the variable in the format str
format