'Log an access message to the app.log or global log as appropriate.'

def access(self):

    try:
        return request.app.log.access()
    except AttributeError:
        return _cplogging.LogManager.access(self)
