lib/logging/appenders/static_appender.rb in logging-0.2.0 vs lib/logging/appenders/static_appender.rb in logging-0.3.0

- old
+ new

@@ -1,6 +1,6 @@ -# $Id: static_appender.rb 12 2007-01-14 20:03:40Z tim_pease $ +# $Id: static_appender.rb 26 2007-01-31 23:19:40Z tim_pease $ require 'logging/appenders/console' module Logging class Appender @@ -29,28 +29,28 @@ # # call-seq: # Appender.stdout # - # Returns an instance of the StdOut Appender. Unless the user explicitly - # creates a new StdOut Appender, the instance returned by this method + # Returns an instance of the Stdout Appender. Unless the user explicitly + # creates a new Stdout Appender, the instance returned by this method # will always be the same: # # Appender.stdout.object_id == Appender.stdout.object_id #=> true # - def stdout( ) self['stdout'] || ::Logging::Appenders::StdOut.new end + def stdout( ) self['stdout'] || ::Logging::Appenders::Stdout.new end # # call-seq: # Appender.stderr # - # Returns an instance of the StdErr Appender. Unless the user explicitly - # creates a new StdErr Appender, the instance returned by this method + # Returns an instance of the Stderr Appender. Unless the user explicitly + # creates a new Stderr Appender, the instance returned by this method # will always be the same: # # Appender.stderr.object_id == Appender.stderr.object_id #=> true # - def stderr( ) self['stderr'] || ::Logging::Appenders::StdErr.new end + def stderr( ) self['stderr'] || ::Logging::Appenders::Stderr.new end end # class << self end # class Appender end # module Logging