lib/rest_connection.rb in rest_connection-0.0.19 vs lib/rest_connection.rb in rest_connection-0.0.20
- old
+ new
@@ -178,10 +178,10 @@
init_message += ENV['REST_CONNECTION_LOG']
else
@@logger = Logger.new(STDOUT)
init_message += "STDOUT"
end
- STDOUT.puts init_message
+ @@logger.info(init_message)
end
@@logger.info(message)
end