human
Complete the below
def LogAccessWrapper(func):

    ''''Decorator that ensures that HTTP access is logged.'
    '''
assistant
#Here is the Python program you requested.
    def Wrapper(request, *args, **kwargs):
        'Wrapping    function.'
        try:
            response = func(request, *args, **kwargs)
            log.LOGGER.LogHttpAdminUIAccess(request, response)
        except Exception:
            response = werkzeug_wrappers.Response('', status=500)
            log.LOGGER.LogHttpAdminUIAccess(request, response)
            raise
        return response
    return Wrapper