github / github/elastomer-client
Allow apps to configure faraday logger
Abierto
- Lenguaje dominante
- Ruby
- Estrellas
- 197
- Forks
- 28
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
This code in haystack reaches into elastomer-client's Faraday object to set the logger:
```
if Rails.env.development?
Haystack.elastomer_client.connection.response :logger, Rails.logger
end
```
https://github.com/github/haystack/blob/master/config/initializers/elasticsearch.rb#L18-L20
This shouldn't be necessary. Elastomer::Client should provide a method to set a logger object.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.