Commit c19576364b069da874f4ebc2f6ef2e5462f09975

Authored by Andrew Kane
1 parent a1cac670

Better way to suppress Ethon logging

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
@@ -1046,7 +1046,7 @@ And create an initializer with: @@ -1046,7 +1046,7 @@ And create an initializer with:
1046 1046
1047 ```ruby 1047 ```ruby
1048 require "typhoeus/adapters/faraday" 1048 require "typhoeus/adapters/faraday"
1049 -Ethon.logger = Logger.new("/dev/null") 1049 +Ethon.logger.level = Logger::WARN
1050 ``` 1050 ```
1051 1051
1052 **Note:** Typhoeus is not available for Windows. 1052 **Note:** Typhoeus is not available for Windows.