human
I wrote the below code

    def get(param, default=None):
        return request.REQUEST.get(param, default)
    level = _LOG_LEVELS.get(get('level'), logging.INFO)
    msg = ('Untrusted    log    event    from    user    %s:    %s' % (request.user, get('message', '')[:_MAX_LOG_FRONTEND_EVENT_LENGTH]))
    _LOG_FRONTEND_LOGGER.log(level, msg)
    return HttpResponse('')

What's a good function header?

Here's a good function header?
assistant
#Here's a good function header.

@login_notrequired
def log_frontend_event(request):