Skip to content

Commit

Permalink
Merge pull request #127 from projectdx/remove_log_level_check
Browse files Browse the repository at this point in the history
Remove log level check
  • Loading branch information
hanshasselberg authored Jun 17, 2016
2 parents 7269d06 + 8d6a504 commit ab052b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ethon/easy/operations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def handle=(h)
# @return [ Integer ] The return code.
def perform
@return_code = Curl.easy_perform(handle)
if Ethon.logger.level.zero?
if Ethon.logger.debug?
Ethon.logger.debug { "ETHON: performed #{log_inspect}" }
end
complete
Expand Down

0 comments on commit ab052b6

Please sign in to comment.