DEFAULT_FORMAT
DEFAULT_FORMAT = "{hostname} {req_header_User-Agent} - [{ts}] \"{method} {resource} {protocol}/{version}\" {code} {res_header_Content-Length}"
Message formatter used in various places in the framework
Format messages using a template that can contain the the following variables:
format(\Guzzle\Http\Message\RequestInterface $request, \Guzzle\Http\Message\Response $response = null, \Guzzle\Http\Curl\CurlHandle $handle = null, array $customData = array()) : string
Returns a formatted message
\Guzzle\Http\Message\RequestInterface | $request | Request that was sent |
\Guzzle\Http\Message\Response | $response | Response that was received |
\Guzzle\Http\Curl\CurlHandle | $handle | Curl handle associated with the message |
array | $customData | Associative array of custom template data |