<s> """<STR_LIT>""" <EOL> from flask import request <EOL> def log_request ( sender , ** extra ) : <EOL> sender . logger . info ( '<STR_LIT>' , <EOL> request . method , <EOL> request . url , <EOL> request . data ) <EOL> def log_exception ( sender , exception , ** extra ) : <EOL> sender . logger . error ( '<STR_LIT>' , exception ) </s>
