# File lib/restclient/request.rb, line 170 def display_log(msg) return unless log_to = RestClient.log if log_to == 'stdout' STDOUT.puts msg elsif log_to == 'stderr' STDERR.puts msg else File.open(log_to, 'a') { |f| f.puts msg } end end