Flowdock
method

debug_output=

Importance_1
debug_output=(arg) public

WARNING: This method causes serious security holes. Use this method for only debugging.

Set an output stream for debug logging. You must call this before #start.

# example
smtp = Net::SMTP.new(addr, port)
smtp.set_debug_output $stderr
smtp.start do |smtp|
  ....
end
Show source
Register or log in to add new notes.