def log_page_hit(request, view_func, level=None):
 if (level is None):
  level = logging.INFO
 ai = AccessInfo(request)
 ai.log(level)
 app_re_match = _MODULE_RE.match(view_func.__module__)
 app = ((app_re_match and app_re_match.group(0)) or '-')
 ai.add_to_access_history(app)

def log_page_hit ( request , view_func , level = None ) : if ( level is None ) : level = logging . INFO ai = AccessInfo ( request ) ai . log ( level ) app_re_match = _MODULE_RE . match ( view_func . __module__ ) app = ( ( app_re_match and app_re_match . group ( 0 ) ) or '-' ) ai . add_to_access_history ( app )
log the request to the access log .