lib/httpx/io.rb in httpx-0.0.3 vs lib/httpx/io.rb in httpx-0.0.4
- old
+ new
@@ -135,10 +135,10 @@
when :connected
return unless @state == :idle
when :closed
return unless @state == :connected
end
- log(1, "#{inspect}: ") { nextstate.to_s }
+ log(level: 1, label: "#{inspect}: ") { nextstate.to_s }
@state = nextstate
end
end
class SSL < TCP