diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-16 05:14:23 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-16 05:14:23 +0000 |
commit | 5348402af54ee4be5ae9f0ddc5fffe3b62d3bd87 (patch) | |
tree | 5a21a5b7b7fbc35302ec38f8c374226d21923f14 /lib/logger.rb | |
parent | 049295f5cdca50fef3914f0cb1cfa586772aea29 (diff) |
document fix [ruby-dev:26516] (patch from Kazuhiro NISHIYAMA)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/logger.rb')
-rw-r--r-- | lib/logger.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/logger.rb b/lib/logger.rb index 363e9774b4..1162e31f3c 100644 --- a/lib/logger.rb +++ b/lib/logger.rb @@ -146,7 +146,7 @@ # # 1. Original interface. # -# logger.level = Logger::WARN +# logger.sev_threshold = Logger::WARN # # 2. Log4r (somewhat) compatible interface. # @@ -247,7 +247,6 @@ class Logger # required. # def initialize(logdev, shift_age = 0, shift_size = 1048576) - @logdev = nil @progname = nil @level = DEBUG @datetime_format = nil @@ -460,8 +459,8 @@ private # # == Synopsis # - # Logger::LogDev.new(name, :shift_age => 'daily|weekly|monthly') - # Logger::LogDev.new(name, :shift_age => 10, :shift_size => 1024*1024) + # Logger::LogDevice.new(name, :shift_age => 'daily|weekly|monthly') + # Logger::LogDevice.new(name, :shift_age => 10, :shift_size => 1024*1024) # # == Args # |