def METHOD_NAME(self, name, level, fn, lno, msg, args, exc_info, func=None, extra=None, sinfo=None):
    if extra is None:
        extra = {}
    if "requestid" not in extra:
        # Not all logging will be done from within a request
        # (eg, initial logging at start up). We need to be able to cope
        # with that.
        requestid = "None"
        try:
            # "request" is a proxy object that passes along operations
            # to the real object. _get_current_object gives us the true
            # Request object, whose id is actually what we want.
            # Without this we end up with the id of the proxy object, which
            # is static for the life of the application.
            # TODO: this doesn't seem to be 100% unique.
            # Sometimes requests that happen around the same time will
            # end up with the same value here. Possibly only when the
            # query strings are the same, or srcip?
            requestid = str(id(request._get_current_object()))
        # RuntimeError will be raised if there's no active request.
        except RuntimeError:
            pass
        extra["requestid"] = requestid
    return logging.Logger.METHOD_NAME(self, name, level, fn, lno, msg, args, exc_info, func, extra, sinfo)  # pragma: no cover