what about `return ... % (\n    self.log_type...)`?