<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def makePickle(self, record):
 """ Use JSON. """

        #ei = record.exc_info
        #if ei:
        #    dummy = self.format(record) # just to get traceback text into record.exc_text
        #    record.exc_info = None  # to avoid Unpickleable error
        s = '%s%s:%i:%s\n' % (self.prefix, record.name, int(record.created), self.format(record))
        #if ei:
        #    record.exc_info = ei  # for next handler
        return s