original_docstring: 
      Return a :obj:`Log` intent for the given mesasge type and body.
      
docstring: Return a :obj:`Log` intent for the given mesasge type and body.
docstring_tokens: Return a : obj : ` Log ` intent for the given mesasge type and body .
code: def log_intent(msg_type, body, log_as_json=True, req_body=''):
      """
      Return a :obj:`Log` intent for the given mesasge type and body.
      """
      body = json.dumps(body, sort_keys=True) if log_as_json else body
      return Log(
          msg_type,
          {'url': "original/request/URL",
           'method': 'method',
           'request_id': "original-request-id",
           'response_body': body, 'request_body': req_body}
      )
code_tokens: def log_intent ( msg_type , body , log_as_json = True , req_body = '' ) : body = json . dumps ( body , sort_keys = True ) if log_as_json else body return Log ( msg_type , { 'url' : "original/request/URL" , 'method' : 'method' , 'request_id' : "original-request-id" , 'response_body' : body , 'request_body' : req_body } )
short_docstring: Return a :obj:`Log` intent for the given mesasge type and body.
short_docstring_tokens: Return a : obj : ` Log ` intent for the given mesasge type and body .
comment: """
      Return a :obj:`Log` intent for the given mesasge type and body.
      """