github / github/elastomer-client
Logging
Ouverte
- Langage dominant
- Ruby
- Étoiles
- 197
- Forks
- 28
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
We need to add some logging to the `Client` class. For each request the client makes, we should output a detailed debug message to a logger of some sort. I really like how Tire does it; logging a curl command that you can copy/paste and use directly. Also, outputting the status code of the response would be good, too ...
```
[200] curl -XGET 'http://localhost:9200/index/_search' -d '...'
```
Not sure how to handle large bodies and what not. And I don't think we need to log responses.
cc @github/search
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.