class Klipbook::Logger
Public Class Methods
new(stdout=$stdout, stderr=$stderr)
click to toggle source
# File lib/klipbook/logger.rb, line 3 def initialize(stdout=$stdout, stderr=$stderr) @stdout, @stderr = stdout, stderr end
Public Instance Methods
error(msg)
click to toggle source
# File lib/klipbook/logger.rb, line 11 def error(msg) @stderr.puts msg end
info(msg)
click to toggle source
# File lib/klipbook/logger.rb, line 7 def info(msg) @stdout.puts msg end