Use STDOUT, please.

It exists for a reason!  Otherwise we can't distinguish errors (like
from unhandled exceptions).
This commit is contained in:
Amelia Cuss 2013-12-12 13:27:48 +00:00
parent 7fd72da7bd
commit dbe909f7b7

View file

@ -30,8 +30,8 @@ module Ebooks
end
def log(*args)
STDERR.puts "@#{@username}: " + args.map(&:to_s).join(' ')
STDERR.flush
STDOUT.puts "@#{@username}: " + args.map(&:to_s).join(' ')
STDOUT.flush
end
def configure