code: def jsonify_log_record(self, log_record):
          
          return self.json_serializer(log_record,
                                      default=self.json_default,
                                      cls=self.json_encoder,
                                      indent=self.json_indent,
                                      ensure_ascii=self.json_ensure_ascii)
docs: Returns a json string of the log record.