tietgenlabs/anvil-proxy-npm — pull request #8 by tomkersten (2014-12-12 16:28:33+00:00)
Title: initial thought on logging

When piped through Bunyan's parser, this is what the log would contain:

```json
request: {
"parsedUrl": {
"protocol": null,
"slashes": null,
"auth": null,
"host": null,
"port": null,
"hostname": null,
"hash": null,
"search": null,
"query": null,
"pathname": "/wat",
"path": "/wat",
"href": "/wat",
"_raw": "/wat"
},
"headers": {
"host": "localhost:3335",
"connection": "keep-alive",
"cache-control": "max-age=0",
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36",
"accept-encoding": "gzip, deflate, sdch",
"accept-language": "en-US,en;q=0.8"
},
"hasBody": false
}
--
response: {
"statusCode": 200,
"hasBody": true
}
```

Thoughts @psexton or @christiansmith ?