lib/cliutils/messenging.rb in cliutils-1.2.3 vs lib/cliutils/messenging.rb in cliutils-1.2.4

- old
+ new

@@ -1,6 +1,6 @@ -require 'cliutils/pretty-io' +require 'cliutils/pretty_io' module CLIUtils # CLIMessenger Module # Outputs coordinated messages to a variety of targets. module Messenging @@ -19,17 +19,17 @@ def default_instance stdout_logger = Logger.new(STDOUT) stdout_logger.formatter = proc do |severity, datetime, progname, msg| send(severity.downcase, msg) end - + LoggerDelegator.new(STDOUT: stdout_logger) end # Singleton method to return (or initialize, if needed) # a LoggerDelegator. # @return [LoggerDelegator] def messenger @@messenger ||= default_instance end end -end \ No newline at end of file +end