lib/cliutils/messenging.rb in cliutils-1.0.6 vs lib/cliutils/messenging.rb in cliutils-1.0.7
- old
+ new
@@ -20,10 +20,10 @@
stdout_logger = Logger.new(STDOUT)
stdout_logger.formatter = proc do |severity, datetime, progname, msg|
send(severity.downcase, msg)
end
- LoggerDelegator.new(stdout_logger)
+ LoggerDelegator.new(STDOUT: stdout_logger)
end
# Singleton method to return (or initialize, if needed)
# a LoggerDelegator.
# @return [LoggerDelegator]
\ No newline at end of file