parameters: (self, name, level, fn, lno, msg, args, exc_info, func=None, extra=None)
return_statement: return rv
docstring: A factory method which can be overridden in subclasses to create
          specialized LogRecords.
docstring_summary: A factory method which can be overridden in subclasses to create
          specialized LogRecords.
docstring_tokens: A factory method which can be overridden in subclasses to create specialized LogRecords .
function: def makeRecord(self, name, level, fn, lno, msg, args, exc_info, func=None, extra=None):
          """
          A factory method which can be overridden in subclasses to create
          specialized LogRecords.
          """
          rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
          if extra is not None:
              for key in extra:
                  if (key in ["message", "asctime"]) or (key in rv.__dict__):
                      raise KeyError("Attempt to overwrite %r in LogRecord" % key)
                  rv.__dict__[key] = extra[key]
          return rv
function_tokens: def makeRecord ( self , name , level , fn , lno , msg , args , exc_info , func = None , extra = None ) : rv = LogRecord ( name , level , fn , lno , msg , args , exc_info , func ) if extra is not None : for key in extra : if ( key in [ "message" , "asctime" ] ) or ( key in rv . __dict__ ) : raise KeyError ( "Attempt to overwrite %r in LogRecord" % key ) rv . __dict__ [ key ] = extra [ key ] return rv