Use STDOUT, please.
It exists for a reason! Otherwise we can't distinguish errors (like from unhandled exceptions).
This commit is contained in:
parent
7fd72da7bd
commit
dbe909f7b7
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ module Ebooks
|
||||||
end
|
end
|
||||||
|
|
||||||
def log(*args)
|
def log(*args)
|
||||||
STDERR.puts "@#{@username}: " + args.map(&:to_s).join(' ')
|
STDOUT.puts "@#{@username}: " + args.map(&:to_s).join(' ')
|
||||||
STDERR.flush
|
STDOUT.flush
|
||||||
end
|
end
|
||||||
|
|
||||||
def configure
|
def configure
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue