Record keeps track of its parent IRSpy object, and uses $irspy->log()